]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/notebook.h
fixed warnings after GetFont prototype change
[wxWidgets.git] / include / wx / univ / notebook.h
index 907af319da1894ad077313d4715449e532d0af62..4c82009c99910f743725bf7be37c34aed64ab5f6 100644 (file)
@@ -39,14 +39,19 @@ public:
     // ctors and such
     // --------------
 
-    wxNotebook();
+    wxNotebook() { Init(); }
 
     wxNotebook(wxWindow *parent,
                wxWindowID id,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
                long style = 0,
-               const wxString& name = wxNOTEBOOK_NAME);
+               const wxString& name = wxNOTEBOOK_NAME)
+    {
+        Init();
+
+        (void)Create(parent, id, pos, size, style, name);
+    }
 
     // quasi ctor
     bool Create(wxWindow *parent,