]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/theme.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / univ / theme.h
index c60cd4aa19d83f75fae05e9efedeb4e91ac65a27..e9a05fe408a9924abf550e3f0865a8bd09a1ddb0 100644 (file)
@@ -69,8 +69,7 @@ private:
 
     // the current theme
     static wxTheme *ms_theme;
-
-    friend wxThemeInfo;
+    friend struct WXDLLEXPORT wxThemeInfo;
 };
 
 // ----------------------------------------------------------------------------
@@ -121,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_