]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/theme.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / univ / theme.h
index f141b2645bde1f5ae7d990e82f798680af82d134..e9a05fe408a9924abf550e3f0865a8bd09a1ddb0 100644 (file)
@@ -69,7 +69,7 @@ private:
 
     // the current theme
     static wxTheme *ms_theme;
-    friend class wxThemeInfo;
+    friend struct WXDLLEXPORT wxThemeInfo;
 };
 
 // ----------------------------------------------------------------------------
@@ -120,7 +120,7 @@ struct WXDLLEXPORT wxThemeInfo
     bool wxThemeUse##themename = TRUE;                                      \
     wxTheme *wxCtorFor##themename() { return new classname; }               \
     wxThemeInfo classname::ms_info##themename(wxCtorFor##themename,         \
-                                              #themename, themedesc)
+                                              wxT( #themename ), themedesc)
 
 #endif // _WX_UNIV_THEME_H_