X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..5267aefd85739afd26bd19bfba998005119db446:/interface/wx/panel.h diff --git a/interface/wx/panel.h b/interface/wx/panel.h index da65a95e3c..cd76e4bee9 100644 --- a/interface/wx/panel.h +++ b/interface/wx/panel.h @@ -69,7 +69,7 @@ public: /** Destructor. Deletes any child windows before deleting the physical window. */ - ~wxPanel(); + virtual ~wxPanel(); /** This method is overridden from wxWindow::AcceptsFocus() @@ -86,7 +86,7 @@ public: 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 @@ -94,7 +94,7 @@ public: @see wxInitDialogEvent */ - void InitDialog(); + virtual void InitDialog(); /** The default handler for wxEVT_SYS_COLOUR_CHANGED. @@ -130,6 +130,6 @@ public: 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(); };