X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_pycontrol.i diff --git a/wxPython/src/_pycontrol.i b/wxPython/src/_pycontrol.i index dc1e8047b9..ac80519d0e 100644 --- a/wxPython/src/_pycontrol.i +++ b/wxPython/src/_pycontrol.i @@ -64,6 +64,8 @@ public: DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); + DEC_PYCALLBACK_BOOL_(HasTransparentBackground); + PYPRIVATE; }; @@ -96,7 +98,9 @@ IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild); IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours); IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground); IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes); -%} + +IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground); + %} // And now the one for SWIG to see MustHaveApp(wxPyControl); @@ -113,7 +117,7 @@ public: const wxValidator& validator=wxDefaultValidator, const wxString& name = wxPyControlNameStr); - %name(PrePyControl) wxPyControl(); + %RenameCtor(PrePyControl, wxPyControl()); void _setCallbackInfo(PyObject* self, PyObject* _class);