From 8a77c0d769cdfd3ee57d0f38657d3aa3a465d073 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Tue, 5 Feb 2002 19:07:20 +0000 Subject: [PATCH] Added WXDLLEXPORT_DATA() around several data elements git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/db.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/db.h b/include/wx/db.h index 892e3d6091..5216709500 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -123,9 +123,8 @@ enum enumDummy {enumDum1}; */ const int wxDB_PATH_MAX = 254; -extern wxChar const *SQL_LOG_FILENAME; -extern wxChar const *SQL_CATALOG_FILENAME; - +WXDLLEXPORT_DATA(extern wxChar const *) SQL_LOG_FILENAME; +WXDLLEXPORT_DATA(extern wxChar const *) SQL_CATALOG_FILENAME; // Database Globals const int DB_TYPE_NAME_LEN = 40; @@ -458,7 +457,8 @@ enum wxDBMS // why the connection failed. Note: as each wxDb object is closed, it // will overwrite the errors of the previously destroyed wxDb object in // this variable. -extern wxChar DBerrorList[DB_MAX_ERROR_HISTORY][DB_MAX_ERROR_MSG_LEN]; + +WXDLLEXPORT_DATA(extern wxChar) DBerrorList[DB_MAX_ERROR_HISTORY][DB_MAX_ERROR_MSG_LEN]; class WXDLLEXPORT wxDb -- 2.45.2