X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b733817348952323671603271a93d394e8f0e36..973983be622fcfa9e4387d9eb96f5adf03f2fc7b:/include/wx/dynlib.h?ds=sidebyside diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index c9eb6d36af..90fb2f1dc7 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -222,14 +222,14 @@ protected: // Global variables // ---------------------------------------------------------------------------- -extern wxLibraries wxTheLibraries; +extern WXDLLEXPORT_DATA(wxLibraries) wxTheLibraries; // ---------------------------------------------------------------------------- // Interesting defines // ---------------------------------------------------------------------------- #define WXDLL_ENTRY_FUNCTION() \ -extern "C" WXEXPORT wxClassInfo *wxGetClassFirst(); \ +extern "C" WXEXPORT const wxClassInfo *wxGetClassFirst(); \ const wxClassInfo *wxGetClassFirst() { \ return wxClassInfo::GetFirst(); \ }