]> git.saurik.com Git - wxWidgets.git/commitdiff
made declaration of WXDLL_ENTRY_FUNCTION match it definition
authorRon Lee <ron@debian.org>
Wed, 31 Oct 2001 12:38:42 +0000 (12:38 +0000)
committerRon Lee <ron@debian.org>
Wed, 31 Oct 2001 12:38:42 +0000 (12:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dynlib.h

index c9eb6d36af9e400a52913bb86d8e6aec2fd0a215..e7b65cfd0525325bcd7f2382a7570423d67d3585 100644 (file)
@@ -229,7 +229,7 @@ extern wxLibraries wxTheLibraries;
 // ----------------------------------------------------------------------------
 
 #define WXDLL_ENTRY_FUNCTION() \
 // ----------------------------------------------------------------------------
 
 #define WXDLL_ENTRY_FUNCTION() \
-extern "C" WXEXPORT wxClassInfo *wxGetClassFirst(); \
+extern "C" WXEXPORT const wxClassInfo *wxGetClassFirst(); \
 const wxClassInfo *wxGetClassFirst() { \
   return wxClassInfo::GetFirst(); \
 }
 const wxClassInfo *wxGetClassFirst() { \
   return wxClassInfo::GetFirst(); \
 }