]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dialog.h
shows different SetCursor() calls
[wxWidgets.git] / include / wx / gtk / dialog.h
index 002c3e1beddd9b8c4c1a63ae7505772e3e51001c..62bd45a4cd320f9a233ab85ee72a595b41f5be55 100644 (file)
@@ -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);