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)