diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index f141b2645b..0c571dd95b 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -69,7 +69,7 @@ private: // the current theme static wxTheme *ms_theme; - friend class wxThemeInfo; + friend struct WXDLLEXPORT wxThemeInfo; }; // ----------------------------------------------------------------------------