X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a462d4ee12820a8ee404eef060e5cd406ba3f09..d44d0cbd7343e36ddd3657dd97cd5eb7018d2585:/include/wx/msw/uxtheme.h diff --git a/include/wx/msw/uxtheme.h b/include/wx/msw/uxtheme.h index f7578a9746..13c77b2288 100644 --- a/include/wx/msw/uxtheme.h +++ b/include/wx/msw/uxtheme.h @@ -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()