const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL | wxNO_BORDER,
const wxString& name = wxPyPanelNameStr);
- %name(PrePanel)wxPanel();
+ %RenameCtor(PrePanel, wxPanel());
// Turn it back on again
%typemap(out) wxPanel* { $result = wxPyMake_wxObject($1, $owner); }
DocDeclStr(
virtual void , SetFocus(),
- "Overrides `wx.Window.SetFocus`. This method
-uses the (undocumented) mix-in class wxControlContainer which manages
-the focus and TAB logic for controls which usually have child controls.
-In practice, if you call this method and the panel has at least
-one child window, then the focus will be given to the child window.
-", "
+ "Overrides `wx.Window.SetFocus`. This method uses the (undocumented)
+mix-in class wxControlContainer which manages the focus and TAB logic
+for controls which usually have child controls. In practice, if you
+call this method and the panel has at least one child window, then the
+focus will be given to the child window.", "
:see: `wx.FocusEvent`, `wx.Window.SetFocus`, `SetFocusIgnoringChildren`");
const wxSize& size = wxDefaultSize,
long style = wxHSCROLL | wxVSCROLL,
const wxString& name = wxPyPanelNameStr);
- %name(PreScrolledWindow)wxScrolledWindow();
+ %RenameCtor(PreScrolledWindow, wxScrolledWindow());
// Turn it back on again
%typemap(out) wxScrolledWindow* { $result = wxPyMake_wxObject($1, $owner); }