X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/456bc6d9b83882a3b0e919fc733898d9d331ecd6..7c349adb6e419aa8007e2c6c323e80ee39bcd4e2:/include/wx/generic/panelg.h?ds=sidebyside diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index a66dd5b7aa..076011ac79 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -23,7 +23,6 @@ #include "wx/window.h" #include "wx/containr.h" -class WXDLLEXPORT wxButton; class WXDLLEXPORT wxControlContainer; WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; @@ -74,25 +73,20 @@ public: // implementation from now on // -------------------------- - // Sends an OnInitDialog event, which in turns transfers data to - // to the dialog via validators. - virtual void InitDialog(); - // responds to colour changes void OnSysColourChanged(wxSysColourChangedEvent& event); // calls layout for layout constraints and sizers void OnSize(wxSizeEvent& event); + virtual void InitDialog(); + WX_DECLARE_CONTROL_CONTAINER(); protected: // common part of all ctors void Init(); - // the object which implements the TAB traversal logic - wxControlContainer *m_container; - private: DECLARE_DYNAMIC_CLASS(wxPanel) DECLARE_EVENT_TABLE()