DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
+ DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
+
PYPRIVATE;
};
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
+IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
%}
// And now the one for SWIG to see
class wxPyWindow : public wxWindow
{
public:
- %addtofunc wxPyWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)"
+ %pythonAppend wxPyWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)"
wxPyWindow(wxWindow* parent, const wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
+ DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
+
PYPRIVATE;
};
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
+IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
%}
// And now the one for SWIG to see
class wxPyPanel : public wxPanel
{
public:
- %addtofunc wxPyPanel "self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)"
+ %pythonAppend wxPyPanel "self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)"
wxPyPanel(wxWindow* parent, const wxWindowID id,
const wxPoint& pos = wxDefaultPosition,