X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b55490abdb56cd66acf9d965981c4bb4b5f2abb..72594e90b2da8c167ba63b89b2c168c57a19cab4:/include/wx/generic/panelg.h?ds=inline diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index 85f91ee81a..dfda5d8ef0 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -34,7 +34,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; class WXDLLEXPORT wxPanel : public wxWindow { public: - wxPanel() : m_container(this) { Init(); } + wxPanel() { Init(); } // Old-style constructor (no default values for coordinates to avoid // ambiguity with the new one) @@ -42,7 +42,6 @@ public: int x, int y, int width, int height, long style = wxTAB_TRAVERSAL | wxNO_BORDER, const wxString& name = wxPanelNameStr) - : m_container(this) { Init(); @@ -56,7 +55,6 @@ public: const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL | wxNO_BORDER, const wxString& name = wxPanelNameStr) - : m_container(this) { Init(); @@ -75,10 +73,6 @@ 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);