]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed invalid background colour of controls on a notebookpage when using certain...
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 17 Feb 2004 04:21:41 +0000 (04:21 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Tue, 17 Feb 2004 04:21:41 +0000 (04:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index 3ca3d0f8b5fb526a3739790ad898184b281d9ffc..432bcdda679aae0a4ed05cdbd5328253ed3415a1 100644 (file)
@@ -942,14 +942,12 @@ wxColour wxNotebook::GetThemeBackgroundColour()
             // This is total guesswork.
             // See PlatformSDK\Include\Tmschema.h for values
             COLORREF themeColor;
-            wxUxThemeEngine::Get()->GetThemeColor
-                                    (
+            wxUxThemeEngine::Get()->GetThemeColor(
                                         hTheme,
                                         10 /* TABP_BODY */,
                                         1 /* NORMAL */,
-                                        3821, /* FILLCOLORHINT */
-                                        & themeColor
-                                    );
+                                        3802 /* color of bg fill */,
+                                        &themeColor);
             
             wxColour colour(GetRValue(themeColor), GetGValue(themeColor), GetBValue(themeColor));
             return colour;