X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31ad423e4fb556ec225a63b161154d3bf3445c1b..8423f117639968a8e21344c52c5bc746596508c6:/wxPython/src/html.i diff --git a/wxPython/src/html.i b/wxPython/src/html.i index 6bde2f4c97..403878e34d 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -791,6 +791,7 @@ MustHaveApp(wxPyHtmlWindow); public: %pythonAppend wxPyHtmlWindow "self._setCallbackInfo(self, HtmlWindow); self._setOORInfo(self)" %pythonAppend wxPyHtmlWindow() "" + %typemap(out) wxPyHtmlWindow*; // turn off this typemap wxPyHtmlWindow(wxWindow *parent, int id = -1, const wxPoint& pos = wxDefaultPosition, @@ -799,6 +800,9 @@ public: const wxString& name = wxPyHtmlWindowNameStr); %name(PreHtmlWindow)wxPyHtmlWindow(); + // Turn it back on again + %typemap(out) wxPyHtmlWindow* { $result = wxPyMake_wxObject($1, $owner); } + bool Create(wxWindow *parent, int id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,