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