]> git.saurik.com Git - wxWidgets.git/commitdiff
Replace deprecated wxNB_* flags with wxBK_* used in last commit.
authorJamie Gadd <jrgadd2@cs.latrobe.edu.au>
Sun, 12 Feb 2006 08:43:01 +0000 (08:43 +0000)
committerJamie Gadd <jrgadd2@cs.latrobe.edu.au>
Sun, 12 Feb 2006 08:43:01 +0000 (08:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index 4792bbef1cdb2f1953be602be30841f7533b82c7..80f2fc703076e221fb3c790b5d4388759fbbdeed 100644 (file)
@@ -282,7 +282,7 @@ bool wxNotebook::Create(wxWindow *parent,
     const int verComCtl32 = wxApp::GetComCtl32Version();
     if ( verComCtl32 == 600 )
     {
-        style &= ~(wxNB_BOTTOM | wxNB_LEFT | wxNB_RIGHT);
+        style &= ~(wxBK_BOTTOM | wxBK_LEFT | wxBK_RIGHT);
     }
 #endif //wxUSE_UXTHEME
 
@@ -355,7 +355,7 @@ bool wxNotebook::Create(wxWindow *parent,
     if ( verComCtl32 == 600 ) 
     {
         // check if we use themes at all -- if we don't, we're still okay
-        if ( wxUxThemeEngine::GetIfActive() && (style & (wxNB_BOTTOM|wxNB_LEFT|wxNB_RIGHT)))
+        if ( wxUxThemeEngine::GetIfActive() && (style & (wxBK_BOTTOM|wxBK_LEFT|wxBK_RIGHT)))
         {
             wxUxThemeEngine::GetIfActive()->SetWindowTheme((HWND)this->GetHandle(), L"", L"");
             SetBackgroundColour(GetThemeBackgroundColour());    //correct the background color for the new non-themed control