removed style parameter from MSWCreate(), it is unneeded

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-10 23:27:17 +00:00
parent 29020b9048
commit 6dd16e4f26
6 changed files with 40 additions and 60 deletions

View File

@@ -142,12 +142,11 @@ bool wxNotebook::Create(wxWindow *parent,
const wxString& name)
{
// base init
if ( !CreateControl(parent, id, pos, size, style, wxDefaultValidator, name) )
if ( !CreateControl(parent, id, pos, size, style | wxTAB_TRAVERSAL,
wxDefaultValidator, name) )
return FALSE;
// notebook, so explicitly specify 0 as last parameter
if ( !MSWCreateControl(WC_TABCONTROL, _T(""), pos, size,
style | wxTAB_TRAVERSAL) )
if ( !MSWCreateControl(WC_TABCONTROL, _T(""), pos, size) )
return FALSE;
SetBackgroundColour(wxColour(::GetSysColor(COLOR_BTNFACE)));