]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/renderer.cpp
background colour of a combobox may now be set (bug 805442)
[wxWidgets.git] / src / msw / renderer.cpp
index 1421f42fb9e9407ea25b3b1407d7f573b6afd84c..313865986ceddfb36942ef4b5c8cf60e5c7584cd 100644 (file)
@@ -84,8 +84,8 @@ private:
 wxRendererNative& wxRendererNative::GetDefault()
 {
     wxUxThemeEngine *themeEngine = wxUxThemeEngine::Get();
-    return themeEngine && themeEngine->IsThemeActive() ? wxRendererXP::Get()
-                                                       : wxRendererMSW::Get();
+    return themeEngine && themeEngine->IsAppThemed() ? wxRendererXP::Get()
+                                                     : wxRendererMSW::Get();
 }
 
 /* static */