X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70b4d2db930a297f0625b7d43109f793fd3338a..dbace455c0416abe52fc44eb5e5e0d1bccc1c160:/wxPython/contrib/gizmos/gizmos.i?ds=inline diff --git a/wxPython/contrib/gizmos/gizmos.i b/wxPython/contrib/gizmos/gizmos.i index 65ddbbc35a..485613b385 100644 --- a/wxPython/contrib/gizmos/gizmos.i +++ b/wxPython/contrib/gizmos/gizmos.i @@ -172,6 +172,11 @@ enum { wxEL_ALLOW_DELETE, }; + +%typemap(out) wxPyListCtrl* +{ $result = wxPyMake_wxObject((wxObject*)$1, (bool)$owner); } + + // This class provides a composite control that lets the // user easily enter list of strings MustHaveApp(wxEditableListBox); @@ -315,7 +320,7 @@ MustHaveApp(wxPyTreeCompanionWindow); class wxPyTreeCompanionWindow: public wxWindow { public: - %pythonAppend wxPyTreeCompanionWindow "self._setOORInfo(self);self._setCallbackInfo(self, TreeCompanionWindow)" + %pythonAppend wxPyTreeCompanionWindow "self._setOORInfo(self);" setCallbackInfo(TreeCompanionWindow) %pythonAppend wxPyTreeCompanionWindow() "" wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,