]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/notebook.cpp
Now uses the version number when doing a cleandll
[wxWidgets.git] / src / gtk1 / notebook.cpp
index 6102168a49b792ab0f3782b6c561837224f36a6c..6cac1f91355ca2468e0ab0bfe18f23ee4e421403 100644 (file)
@@ -220,7 +220,13 @@ bool wxNotebook::Create(wxWindow *parent, wxWindowID id,
     m_acceptsFocus = TRUE;
     m_insertCallback = (wxInsertChildFunction)wxInsertChildInNotebook;
 
-    PreCreation( parent, id, pos, size, style, name );
+    if (!PreCreation( parent, pos, size ) ||
+        !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
+    {
+        wxFAIL_MSG( _T("wxNoteBook creation failed") );
+       return FALSE;
+    }
+
 
     m_widget = gtk_notebook_new();