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:
@@ -347,6 +347,8 @@ private:
|
|||||||
DECLARE_NO_COPY_CLASS(wxUxThemeEngine)
|
DECLARE_NO_COPY_CLASS(wxUxThemeEngine)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if wxUSE_UXTHEME
|
||||||
|
|
||||||
/* static */ inline wxUxThemeEngine *wxUxThemeEngine::GetIfActive()
|
/* static */ inline wxUxThemeEngine *wxUxThemeEngine::GetIfActive()
|
||||||
{
|
{
|
||||||
wxUxThemeEngine *engine = Get();
|
wxUxThemeEngine *engine = Get();
|
||||||
@@ -355,7 +357,7 @@ private:
|
|||||||
: NULL;
|
: NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !wxUSE_UXTHEME
|
#else // !wxUSE_UXTHEME
|
||||||
|
|
||||||
/* static */ inline wxUxThemeEngine *wxUxThemeEngine::Get()
|
/* static */ inline wxUxThemeEngine *wxUxThemeEngine::Get()
|
||||||
{
|
{
|
||||||
@@ -367,7 +369,7 @@ private:
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !wxUSE_UXTHEME
|
#endif // wxUSE_UXTHEME/!wxUSE_UXTHEME
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxUxThemeHandle: encapsulates ::Open/CloseThemeData()
|
// wxUxThemeHandle: encapsulates ::Open/CloseThemeData()
|
||||||
|
Reference in New Issue
Block a user