]> git.saurik.com Git - wxWidgets.git/commitdiff
added WXEXPORT to wxGetClassFirst() declaration to make it work under Windows
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2001 14:35:04 +0000 (14:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 29 Oct 2001 14:35:04 +0000 (14:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dynlib.h

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