From ad8b399079b5914e9a846cc1d1f002088ef0e51b Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Wed, 31 Oct 2001 12:38:42 +0000 Subject: [PATCH] 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 --- include/wx/dynlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); \ }