From a81052ed96bb90149cf29ee7985b50b184c4b680 Mon Sep 17 00:00:00 2001 From: Roger Gammans Date: Tue, 3 Dec 2002 19:00:49 +0000 Subject: [PATCH] * Change wxDbLogExtendedErrorMsg() prototype to allow building as a DLL on with mingw32 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/db.h | 2 +- src/common/db.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/db.h b/include/wx/db.h index 531a348d53..ecb4f3ab6a 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -714,7 +714,7 @@ int WXDLLEXPORT wxDbConnectionsInUse(void); // Writes a message to the wxLog window (stdout usually) when an internal error // situation occurs. This function only works in DEBUG builds -const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, +const wxChar* WXDLLEXPORT wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb, const wxChar *ErrFile, int ErrLine); diff --git a/src/common/db.cpp b/src/common/db.cpp index 085e6cad5c..1d014c2ced 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -3750,7 +3750,7 @@ int WXDLLEXPORT wxDbConnectionsInUse(void) /********** wxDbLogExtendedErrorMsg() **********/ // DEBUG ONLY function -const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, +const wxChar* WXDLLEXPORT wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *pDb, const wxChar *ErrFile, int ErrLine)