X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc6fde4b1dd5bfd8ae22839ff9a69cf24eb9120..9018abe3ef28d237b0421c8d96987907adbe5532:/include/wx/gtk/dialog.h?ds=sidebyside diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index 002c3e1bed..62bd45a4cd 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -40,7 +40,7 @@ class wxDialog: public wxPanel DECLARE_DYNAMIC_CLASS(wxDialog) public: - wxDialog(); + wxDialog() { Init(); } wxDialog( wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos = wxDefaultPosition, @@ -97,6 +97,9 @@ public: wxIcon m_icon; protected: + // common part of all ctors + void Init(); + virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);