]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_statctrls.i
get rid of \\ macros and change See Also -> See also
[wxWidgets.git] / wxPython / src / _statctrls.i
index 3c15670aaf0a69274a839657d3b10ec08a0ba42b..9c2df37ac931eb70fa420144a811f454fcf4083b 100644 (file)
@@ -29,6 +29,7 @@ class wxStaticBox : public wxControl {
 public:
     %pythonAppend wxStaticBox         "self._setOORInfo(self)"
     %pythonAppend wxStaticBox()       ""
+    %typemap(out) wxStaticBox*;    // turn off this typemap
 
     wxStaticBox(wxWindow* parent, wxWindowID id=-1,
                 const wxString& label = wxPyEmptyString,
@@ -38,6 +39,9 @@ public:
                 const wxString& name = wxPyStaticBoxNameStr);
     %name(PreStaticBox)wxStaticBox();
 
+    // Turn it back on again
+    %typemap(out) wxStaticBox* { $result = wxPyMake_wxObject($1, $owner); }
+
     bool Create(wxWindow* parent, wxWindowID id=-1,
                 const wxString& label = wxPyEmptyString,
                 const wxPoint& pos = wxDefaultPosition,