+ %typemap(out) wxControl*; // turn off this typemap
+
+ DocCtorStr(
+ wxControl(wxWindow *parent,
+ wxWindowID id=-1,
+ const wxPoint& pos=wxDefaultPosition,
+ const wxSize& size=wxDefaultSize,
+ long style=0,
+ const wxValidator& validator=wxDefaultValidator,
+ const wxString& name=wxPyControlNameStr),
+ "Create a Control. Normally you should only call this from a subclass'
+__init__ as a plain old wx.Control is not very useful.", "");
+
+ DocCtorStrName(
+ wxControl(),
+ "Precreate a Control control for 2-phase creation", "",
+ PreControl);
+
+ // Turn it back on again
+ %typemap(out) wxControl* { $result = wxPyMake_wxObject($1, $owner); }
+
+
+ DocDeclStr(
+ bool , Create(wxWindow *parent,
+ wxWindowID id=-1,
+ const wxPoint& pos=wxDefaultPosition,
+ const wxSize& size=wxDefaultSize,
+ long style=0,
+ const wxValidator& validator=wxDefaultValidator,
+ const wxString& name=wxPyControlNameStr),
+ "Do the 2nd phase and create the GUI control.", "");
+