From b4f8693cb887677cc8ed0f113a8b57e5f9520a3c Mon Sep 17 00:00:00 2001 From: David Elliott Date: Wed, 10 Sep 2003 13:00:47 +0000 Subject: [PATCH] Changed wxWindow::Create to wxControl because wxNotebook is derived from it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/notebook.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 1c46df3568..f6462ae8a4 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -133,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)); -- 2.50.0