Use a swig macro for generating the call to the _setCallbackInfo
function so it's easy to fiddle with, if needed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@ MustHaveApp(wxPyWindow);
|
||||
class wxPyWindow : public wxWindow
|
||||
{
|
||||
public:
|
||||
%pythonAppend wxPyWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)"
|
||||
%pythonAppend wxPyWindow "self._setOORInfo(self);" setCallbackInfo(PyWindow)
|
||||
%pythonAppend wxPyWindow() ""
|
||||
|
||||
wxPyWindow(wxWindow* parent, const wxWindowID id=-1,
|
||||
@@ -328,7 +328,7 @@ MustHaveApp(wxPyPanel);
|
||||
class wxPyPanel : public wxPanel
|
||||
{
|
||||
public:
|
||||
%pythonAppend wxPyPanel "self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)"
|
||||
%pythonAppend wxPyPanel "self._setOORInfo(self);" setCallbackInfo(PyPanel)
|
||||
%pythonAppend wxPyPanel() ""
|
||||
|
||||
wxPyPanel(wxWindow* parent, const wxWindowID id=-1,
|
||||
@@ -502,7 +502,7 @@ MustHaveApp(wxPyScrolledWindow);
|
||||
class wxPyScrolledWindow : public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
%pythonAppend wxPyScrolledWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyScrolledWindow)"
|
||||
%pythonAppend wxPyScrolledWindow "self._setOORInfo(self);" setCallbackInfo(PyScrolledWindow)
|
||||
%pythonAppend wxPyScrolledWindow() ""
|
||||
|
||||
wxPyScrolledWindow(wxWindow* parent, const wxWindowID id=-1,
|
||||
|
Reference in New Issue
Block a user