#ifndef _WX_UXTHEME_H_
#define _WX_UXTHEME_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "uxtheme.h"
#endif
friend class wxUxThemeModule;
#endif // wxUSE_UXTHEME
- DECLARE_NO_COPY_CLASS(wxUxThemeEngine);
+ DECLARE_NO_COPY_CLASS(wxUxThemeEngine)
};
#if !wxUSE_UXTHEME
{
wxUxThemeEngine *engine = wxUxThemeEngine::Get();
- m_hTheme = engine ? engine->OpenThemeData(win->GetHWND(), classes)
- : NULL;
+ m_hTheme =
+ engine ? (WXHTHEME)engine->OpenThemeData(win->GetHWND(), classes)
+ : NULL;
}
operator WXHTHEME() const { return m_hTheme; }