X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81851eb9c46584e04bd9b2505e4176508fc60ef..d7645bfd20e2b197b2d73043e602f947610e44ff:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index c0534eff69..7723185846 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -162,6 +162,12 @@ typedef unsigned long wxUIntPtr; %pythoncode { NAME = property(STUFF) } %enddef + +%define setCallbackInfo(klass) + "klass._setCallbackInfo(self, self, klass)" +%enddef + + //---------------------------------------------------------------------- // Macros for the docstring and autodoc features of SWIG. These will // help make the code look more readable, and pretty, as well as help @@ -1210,6 +1216,14 @@ enum wxUpdateUI }; +enum wxLayoutDirection +{ + wxLayout_Default, + wxLayout_LeftToRight, + wxLayout_RightToLeft +}; + + //---------------------------------------------------------------------------