X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e6c15eeb1f2d115102696c383222a22071fe46..71e57cd6506760f7ca0e3195a5ecf99d78a77be9:/src/msw/renderer.cpp diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index 1421f42fb9..313865986c 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -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 */