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:
Robin Dunn
2006-11-14 22:03:54 +00:00
parent 13b955a755
commit c25f90f60c
76 changed files with 348 additions and 331 deletions

View File

@@ -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,