last commit broke compilation for wxUSE_UXTHEME == 0; fixing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-11-19 21:52:18 +00:00
parent 83c4e1ee2d
commit 1a38c220e1

View 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()