]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_sizers.i
Use a swig macro for generating the call to the _setCallbackInfo
[wxWidgets.git] / wxPython / src / _sizers.i
index fed0baca61282afdddefc6491590ee1e4e8b3eae..2b1e26a76cc7de76a3cd55b36157cf176d4bcf14 100644 (file)
@@ -1126,7 +1126,7 @@ When `Layout` is called it first calls `CalcMin` followed by
 ", "");
 class wxPySizer : public wxSizer {
 public:
-    %pythonAppend wxPySizer "self._setCallbackInfo(self, PySizer);self._setOORInfo(self)"
+    %pythonAppend wxPySizer "self._setOORInfo(self);" setCallbackInfo(PySizer)
 
     DocCtorStr(
         wxPySizer(),