]> git.saurik.com Git - wxWidgets.git/commitdiff
last commit broke compilation for wxUSE_UXTHEME == 0; fixing
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Nov 2004 21:52:18 +0000 (21:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Nov 2004 21:52:18 +0000 (21:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/uxtheme.h

index f7578a97467c4c4bb2cac7e10edf9cc1c080b08f..13c77b2288cb4e3a1e81189b675a312dbbd9810f 100644 (file)
@@ -347,6 +347,8 @@ private:
     DECLARE_NO_COPY_CLASS(wxUxThemeEngine)
 };
 
+#if wxUSE_UXTHEME
+
 /* static */ inline wxUxThemeEngine *wxUxThemeEngine::GetIfActive()
 {
     wxUxThemeEngine *engine = Get();
@@ -355,7 +357,7 @@ private:
                 : NULL;
 }
 
-#if !wxUSE_UXTHEME
+#else // !wxUSE_UXTHEME
 
 /* static */ inline wxUxThemeEngine *wxUxThemeEngine::Get()
 {
@@ -367,7 +369,7 @@ private:
     return NULL;
 }
 
-#endif // !wxUSE_UXTHEME
+#endif // wxUSE_UXTHEME/!wxUSE_UXTHEME
 
 // ----------------------------------------------------------------------------
 // wxUxThemeHandle: encapsulates ::Open/CloseThemeData()