diff --git a/src/wx/widgets/PropertyGrid.hx b/src/wx/widgets/PropertyGrid.hx index aea5a849..00cd8090 100644 --- a/src/wx/widgets/PropertyGrid.hx +++ b/src/wx/widgets/PropertyGrid.hx @@ -22,7 +22,9 @@ extern class PropertyGrid extends Control { @:native("AppendIn") public function appendIn(parent:RawPointer, property:RawPointer):RawPointer; @:native("GetProperty") public function getProperty(name:WxString):RawPointer; @:native("SetPropertyAttribute") public function setPropertyAttribute(id:WxString, attrName:WxString, value:Bool, argFlags:Int = 0):Void; + #if (wxWidgetsVersion >= version("3.1.6")) @:native("SetPropertyCell") public function setPropertyCell(property:RawPointer, column:Int, text:WxString, bitmap:BitmapBundle, fgCol:Colour, bgCol:Colour):Void; + #end @:native("SetPropertyBackgroundColour") public function setPropertyBackgroundColour(property:RawPointer, color:Colour, flags:PGPropertyValuesFlags):Void; @:native("ShowScrollbars") public function showScrollbars(horz:ScrollbarVisibility, vert:ScrollbarVisibility):Void; @:native("SetPropertyReadOnly") public function setPropertyReadOnly(property:RawPointer):Void;