]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/html.i
Docstring updates
[wxWidgets.git] / wxPython / src / html.i
index 6bde2f4c9797710c8657ddea2cf22a643681fdf1..403878e34de989f73edc3f2b5851f6afd9680898 100644 (file)
@@ -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,