]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/dialog.h
removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead
[wxWidgets.git] / include / wx / univ / dialog.h
index 7bf987c18e052428a99f16801c27ee650f3e0a34..fe7dfe70034a56de1a58e86286e3f21580475b6f 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLEXPORT wxEventLoop;
 class WXDLLEXPORT wxDialog : public wxDialogBase
 {
 public:
-    wxDialog();
+    wxDialog() { Init(); }
 
     // Constructor with no modal flag - the new convention.
     wxDialog(wxWindow *parent, wxWindowID id,
@@ -31,7 +31,11 @@ public:
              const wxPoint& pos = wxDefaultPosition,
              const wxSize& size = wxDefaultSize,
              long style = wxDEFAULT_DIALOG_STYLE,
-             const wxString& name = wxDialogNameStr);
+             const wxString& name = wxDialogNameStr)
+    {
+        Init();
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent, wxWindowID id,
                 const wxString& title,