X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30d2b71da315ddb524f0778e13a8efd923342fd2..83842a0ba326b22c6b930998a7f817e83ff7f7be:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index efd24ca31e..f6462ae8a4 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -20,6 +20,10 @@ #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));