X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c594325333f3e154ee51edd918ad9cb0582203a7..922ba68045d84789ab1dfceb4d1aa1b6e2c5e810:/wxPython/src/controls2.i?ds=inline diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index 298d605502..265dcc0a60 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -919,6 +919,7 @@ public: wxTreeItemId(); ~wxTreeItemId(); bool IsOk(); + %pragma(python) addtoclass = "Ok = IsOk" %addmethods { int __cmp__(wxTreeItemId* other) { @@ -1233,6 +1234,7 @@ public: #ifdef __WXMSW__ void SetItemDropHighlight(const wxTreeItemId& item, int highlight = TRUE); +#endif //bool GetBoundingRect(const wxTreeItemId& item, wxRect& rect, int textOnly = FALSE) %addmethods { @@ -1251,7 +1253,7 @@ public: } } } -#endif + %pragma(python) addtoclass = " # Redefine some methods that SWIG gets a bit confused on... @@ -1271,6 +1273,7 @@ public: val1.thisown = 1 return (val1,val2) " + };