* __stdcall calling convention
*/
-#include <windows.h>
+#ifdef __GNUG__
+#pragma implementation "uxtheme.h"
+#endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/toplevel.h"
+ #include "wx/string.h"
+ #include "wx/log.h"
+#endif //WX_PRECOMP
+
+#include "wx/module.h"
+
+#if wxUSE_UXTHEME
+
+#include "wx/msw/wrapwin.h"
-#include "wx/msw/winundef.h"
-#include "wx/wx.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
#include "wx/app.h" // for GetComCtl32Version
return pThemeEngine ;
}
+wxUxThemeEngine* wxUxThemeEngine::Get()
+{
+ return g_pThemeEngine;
+}
+
#ifdef WXU_USE_WXMODULE
class wxUxThemeModule : public wxModule
{
ResetFunctionPointers() ;
}
+#endif
+ // wxUSE_UXTHEME
+