In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkModifierType` is defined
as an enumeration set type. This commit fixes those errors.
Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkStateFlags` is
defined as an enumeration type. This commit fixes those errors.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkCellRendererState` is
defined as an enumeration set type. This commit fixes those errors.
Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkResponseType` is defined
as an enumeration type. This commit fixes those errors.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTextDirection`,
`TGtkAccelFlags`, `TGtkDirectionType` , `TGtkOrientation` and
`TGtkDestDefaults` are defined as an enumeration type.
This commit fixes those errors.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkEventMask` is defined
as an enumeration set type. This commit fixes those errors.
Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
```
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkJustification`,
`TGtkShadowType`, `TGtkScrollType` and `TGtkPackDirection` are defined
as an enumeration type. This commit fixes those errors.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGdkCursorType` is defined
as an enumeration type. This commit fixes those errors.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `GtkSelectionMode` is defined
as an enumeration type. This commit fixes those errors.
In Gtk3 WS code, 0 was used instead of `G_CONNECT_DEFAULT`.
This leads to compilation error now that `GtkConnectFlags` is defined
as an enumeration type. This commit fixes those errors.