X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a462d4ee12820a8ee404eef060e5cd406ba3f09..8397cab4dafee82a887785a80ab8f588a68d9f27:/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()