/**
Destructor. Deletes any child windows before deleting the physical window.
*/
- ~wxPanel();
+ virtual ~wxPanel();
/**
This method is overridden from wxWindow::AcceptsFocus()
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
- const wxString& name = "panel");
+ const wxString& name = wxPanelNameStr);
/**
Sends a wxInitDialogEvent, which in turn transfers data to the dialog via
@see wxInitDialogEvent
*/
- void InitDialog();
+ virtual void InitDialog();
/**
The default handler for wxEVT_SYS_COLOUR_CHANGED.
In contrast to SetFocus() (see above) this will set the focus to the panel
even if there are child windows in the panel. This is only rarely needed.
*/
- virtual void SetFocusIgnoringChildren();
+ void SetFocusIgnoringChildren();
};