Skip to content

Commit

Permalink
Merge pull request #112 from tobil4sk/fix/property-version-checks
Browse files Browse the repository at this point in the history
Fix version checks for property types
  • Loading branch information
ianharrigan authored Sep 16, 2024
2 parents e2c989d + bc30e43 commit 39a7aa6
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 39a7aa6

Please sign in to comment.