+ // get the theme engine or NULL if themes are not available
+ static wxUxThemeEngine *Get();
+
+ // get the theme enging or NULL if themes are not available or not used for
+ // this application
+ static wxUxThemeEngine *GetIfActive();
+
+ // all uxtheme.dll functions
+ wxUX_THEME_DECLARE(PFNWXUOPENTHEMEDATA, OpenThemeData)
+ wxUX_THEME_DECLARE(PFNWXUCLOSETHEMEDATA, CloseThemeData)
+ wxUX_THEME_DECLARE(PFNWXUDRAWTHEMEBACKGROUND, DrawThemeBackground)
+ wxUX_THEME_DECLARE(PFNWXUDRAWTHEMETEXT, DrawThemeText)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEBACKGROUNDCONTENTRECT, GetThemeBackgroundContentRect)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEBACKGROUNDEXTENT, GetThemeBackgroundExtent)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEPARTSIZE, GetThemePartSize)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMETEXTEXTENT, GetThemeTextExtent)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMETEXTMETRICS, GetThemeTextMetrics)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEBACKGROUNDREGION, GetThemeBackgroundRegion)
+ wxUX_THEME_DECLARE(PFNWXUHITTESTTHEMEBACKGROUND, HitTestThemeBackground)
+ wxUX_THEME_DECLARE(PFNWXUDRAWTHEMEEDGE, DrawThemeEdge)
+ wxUX_THEME_DECLARE(PFNWXUDRAWTHEMEICON, DrawThemeIcon)
+ wxUX_THEME_DECLARE(PFNWXUISTHEMEPARTDEFINED, IsThemePartDefined)
+ wxUX_THEME_DECLARE(PFNWXUISTHEMEBACKGROUNDPARTIALLYTRANSPARENT, IsThemeBackgroundPartiallyTransparent)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMECOLOR, GetThemeColor)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEMETRIC, GetThemeMetric)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESTRING, GetThemeString)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEBOOL, GetThemeBool)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEINT, GetThemeInt)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEENUMVALUE, GetThemeEnumValue)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEPOSITION, GetThemePosition)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEFONT, GetThemeFont)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMERECT, GetThemeRect)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEMARGINS, GetThemeMargins)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEINTLIST, GetThemeIntList)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEPROPERTYORIGIN, GetThemePropertyOrigin)
+ wxUX_THEME_DECLARE(PFNWXUSETWINDOWTHEME, SetWindowTheme)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEFILENAME, GetThemeFilename)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSCOLOR, GetThemeSysColor)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSCOLORBRUSH, GetThemeSysColorBrush)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSBOOL, GetThemeSysBool)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSSIZE, GetThemeSysSize)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSFONT, GetThemeSysFont)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSSTRING, GetThemeSysString)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMESYSINT, GetThemeSysInt)
+ wxUX_THEME_DECLARE(PFNWXUISTHEMEACTIVE, IsThemeActive)
+ wxUX_THEME_DECLARE(PFNWXUISAPPTHEMED, IsAppThemed)
+ wxUX_THEME_DECLARE(PFNWXUGETWINDOWTHEME, GetWindowTheme)
+ wxUX_THEME_DECLARE(PFNWXUENABLETHEMEDIALOGTEXTURE, EnableThemeDialogTexture)
+ wxUX_THEME_DECLARE(PFNWXUISTHEMEDIALOGTEXTUREENABLED, IsThemeDialogTextureEnabled)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEAPPPROPERTIES, GetThemeAppProperties)
+ wxUX_THEME_DECLARE(PFNWXUSETTHEMEAPPPROPERTIES, SetThemeAppProperties)
+ wxUX_THEME_DECLARE(PFNWXUGETCURRENTTHEMENAME, GetCurrentThemeName)
+ wxUX_THEME_DECLARE(PFNWXUGETTHEMEDOCUMENTATIONPROPERTY, GetThemeDocumentationProperty)
+ wxUX_THEME_DECLARE(PFNWXUDRAWTHEMEPARENTBACKGROUND, DrawThemeParentBackground)
+ wxUX_THEME_DECLARE(PFNWXUENABLETHEMING, EnableTheming)