]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
Made the #if wxUSE_UNICODE check correctly...
[wxWidgets.git] / src / generic / notebook.cpp
index efd24ca31ee3129e76c8a090ffc3dfe39b844802..f6462ae8a4eedee0fe8aec0ac859dd1cc5b37890 100644 (file)
 #pragma implementation "notebook.h"
 #endif
 
+#ifdef __VMS
+#pragma message disable unscomzer
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -129,8 +133,7 @@ bool wxNotebook::Create(wxWindow *parent,
 
     m_windowId = id == -1 ? NewControlId() : id;
 
-    // It's like a normal window...
-    if (!wxWindow::Create(parent, id, pos, size, style|wxNO_BORDER, name))
+    if (!wxControl::Create(parent, id, pos, size, style|wxNO_BORDER, wxDefaultValidator, name))
         return FALSE;
 
     SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));