]> git.saurik.com Git - wxWidgets.git/commitdiff
Another addtomethod removed
authorRobin Dunn <robin@alldunn.com>
Fri, 7 May 2004 17:07:04 +0000 (17:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 7 May 2004 17:07:04 +0000 (17:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_tipdlg.i

index a8b496f4d963550a6f2e3efd5d1a815c05e133b1..ef7d617e021dbf810cde087c7c3fac02e6c1fe1d 100644 (file)
@@ -66,10 +66,10 @@ IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
 // Now let SWIG know about it
 class wxPyTipProvider : public wxTipProvider {
 public:
+    %pythonAppend wxPyTipProvider "self._setCallbackInfo(self, PyTipProvider)"
     wxPyTipProvider(size_t currentTip);
 
     void _setCallbackInfo(PyObject* self, PyObject* _class);
-    %pragma(python) addtomethod = "__init__:self._setCallbackInfo(self, wxPyTipProvider)"
 };