X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..af01f1ba0d697c07173f436ab661b4c833258a91:/include/wx/dynlib.h 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(); \ }