public:
%pythonAppend wxMDIChildFrame "self._setOORInfo(self)"
%pythonAppend wxMDIChildFrame() ""
+ %typemap(out) wxMDIChildFrame*; // turn off this typemap
wxMDIChildFrame(wxMDIParentFrame* parent,
const wxWindowID id=-1,
const wxString& name = wxPyFrameNameStr);
%name(PreMDIChildFrame)wxMDIChildFrame();
+ // Turn it back on again
+ %typemap(out) wxMDIChildFrame* { $result = wxPyMake_wxObject($1, $owner); }
+
bool Create(wxMDIParentFrame* parent,
const wxWindowID id=-1,
const wxString& title = wxPyEmptyString,
const wxString& name = wxPyFrameNameStr);
void Activate();
- void Maximize(bool maximize);
+ void Maximize(bool maximize=true);
void Restore();
};
public:
%pythonAppend wxMDIClientWindow "self._setOORInfo(self)"
%pythonAppend wxMDIClientWindow() ""
+ %typemap(out) wxMDIClientWindow*; // turn off this typemap
wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0);
%name(PreMDIClientWindow)wxMDIClientWindow();
+ // Turn it back on again
+ %typemap(out) wxMDIClientWindow* { $result = wxPyMake_wxObject($1, $owner); }
+
bool Create(wxMDIParentFrame* parent, long style = 0);
};