From: Ron Lee Date: Wed, 31 Oct 2001 12:38:42 +0000 (+0000) Subject: made declaration of WXDLL_ENTRY_FUNCTION match it definition X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ad8b399079b5914e9a846cc1d1f002088ef0e51b?ds=sidebyside;hp=835fed359d85cfd7b461d20cd134910c534a2d91 made declaration of WXDLL_ENTRY_FUNCTION match it definition git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index c9eb6d36af..e7b65cfd05 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -229,7 +229,7 @@ extern wxLibraries wxTheLibraries; // ---------------------------------------------------------------------------- #define WXDLL_ENTRY_FUNCTION() \ -extern "C" WXEXPORT wxClassInfo *wxGetClassFirst(); \ +extern "C" WXEXPORT const wxClassInfo *wxGetClassFirst(); \ const wxClassInfo *wxGetClassFirst() { \ return wxClassInfo::GetFirst(); \ }