X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f11bdd03b9623a61bfe3137beeefd7b1256bb9a1..934dac2fd54db20cbb9459fa9b22cd756441dfd8:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index a08ed217a8..e7b65cfd05 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -229,8 +229,8 @@ extern wxLibraries wxTheLibraries; // ---------------------------------------------------------------------------- #define WXDLL_ENTRY_FUNCTION() \ -extern "C" wxClassInfo *wxGetClassFirst(); \ -wxClassInfo *wxGetClassFirst() { \ +extern "C" WXEXPORT const wxClassInfo *wxGetClassFirst(); \ +const wxClassInfo *wxGetClassFirst() { \ return wxClassInfo::GetFirst(); \ }