X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81851eb9c46584e04bd9b2505e4176508fc60ef..9e477492e29e03c02827b1e42a16cb09a13f5149:/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 +}; + + //---------------------------------------------------------------------------