]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
applied wxDirSelector() patch and regenerated the makefiles to include the new src...
[wxWidgets.git] / 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(); \
 }