Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user