]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/uxtheme.cpp
don't let WM_RBUTTONDOWN reach def window proc as it would enter a local modal messag...
[wxWidgets.git] / src / msw / uxtheme.cpp
index a28d3311e393b72415e90f23ee61a6563e6637e7..e8ffd842a4d3bb65a0b04ba4e99a388c83194e95 100644 (file)
@@ -108,7 +108,7 @@ wxUxThemeEngine* wxUxThemeEngine::Get()
 
 bool wxUxThemeEngine::Initialize()
 {
-    if ( wxTheApp->GetComCtl32Version() < 600 )
+    if ( wxApp::GetComCtl32Version() < 600 )
     {
         // not using theme-aware comctl32.dll anyhow, don't even try to use
         // themes