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
This commit is contained in:
@@ -133,8 +133,7 @@ bool wxNotebook::Create(wxWindow *parent,
|
|||||||
|
|
||||||
m_windowId = id == -1 ? NewControlId() : id;
|
m_windowId = id == -1 ? NewControlId() : id;
|
||||||
|
|
||||||
// It's like a normal window...
|
if (!wxControl::Create(parent, id, pos, size, style|wxNO_BORDER, wxDefaultValidator, name))
|
||||||
if (!wxWindow::Create(parent, id, pos, size, style|wxNO_BORDER, name))
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
|
||||||
|
Reference in New Issue
Block a user