Skip to content

Commit

Permalink
Fix version checks for property types
Browse files Browse the repository at this point in the history
The wxWidgets commits that affect these types have not been released in
any 3.2 releases since 3.2.4, so it seems like they will only be in 3.3.

These are the relevant wxWidgets commits:
- wxWidgets/wxWidgets@159c3b1
- wxWidgets/wxWidgets@f1273ce
  • Loading branch information
tobil4sk committed Sep 16, 2024
1 parent e2c989d commit bc30e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wx/widgets/PGPropertyValuesFlags.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package wx.widgets;

#if (wxWidgetsVersion > version("3.2.4"))
#if (wxWidgetsVersion > version("3.3.0"))

@:include("wx/propgrid/propgriddefs.h")
extern enum abstract PGPropertyValuesFlags(PGPropertyValuesFlagsImpl) {
Expand Down
2 changes: 1 addition & 1 deletion src/wx/widgets/styles/PropertyGridAttributes.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package wx.widgets.styles;
// https://docs.wxwidgets.org/latest/property_8h.html#propgrid_property_attributes
@:headerCode("#include <wx/propgrid/propgrid.h>")
class PropertyGridAttributes {
#if (wxWidgetsVersion < version("3.2.3"))
#if (wxWidgetsVersion < version("3.3.0"))
public static var ATTR_HINT:String = untyped __cpp__("wxS(\"Hint\")");
public static var ATTR_MAX:String = untyped __cpp__("wxS(\"Max\")");
public static var ATTR_MIN:String = untyped __cpp__("wxS(\"Min\")");
Expand Down

0 comments on commit bc30e43

Please # to comment.