Use correct DLL export declaration for wxLanguageInfoArray
This class is forward declared with WXDLLIMPEXP_FWD_BASE, so it should be really declated with the matching WXDLLIMPEXP_BASE and not with WXDLLIMPEXP_CORE used by WX_DECLARE_EXPORTED_OBJARRAY() by default too. Somehow the mismatch between forward and real declaration doesn't seem to create any problems, but still fix this for consistency and because it might explain http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/83980
This commit is contained in:
@@ -176,7 +176,7 @@ wxString wxLanguageInfo::GetLocaleName() const
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include "wx/arrimpl.cpp"
|
||||
WX_DECLARE_EXPORTED_OBJARRAY(wxLanguageInfo, wxLanguageInfoArray);
|
||||
WX_DECLARE_USER_EXPORTED_OBJARRAY(wxLanguageInfo, wxLanguageInfoArray, WXDLLIMPEXP_BASE);
|
||||
WX_DEFINE_OBJARRAY(wxLanguageInfoArray)
|
||||
|
||||
wxLanguageInfoArray *wxLocale::ms_languagesDB = NULL;
|
||||
|
Reference in New Issue
Block a user