From 1b733817348952323671603271a93d394e8f0e36 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 Oct 2001 14:35:04 +0000 Subject: [PATCH] added WXEXPORT to wxGetClassFirst() declaration to make it work under Windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index a08ed217a8..c9eb6d36af 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -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(); \ }