GCC fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-22 19:32:37 +00:00
parent 51e298bbbb
commit f0fb3b3b60
2 changed files with 6 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxSt
if (!lookup->Open())
{
wxString tStr;
tStr.Printf(wxT("Unable to open the table '%s'."), tableName);
tStr.Printf(wxT("Unable to open the table '%s'."), tableName.c_str());
wxMessageBox(tStr, wxT("ODBC Error..."));
Close();
return;
@@ -267,7 +267,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxSt
// in the lookup window.
//
ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxString &tableName,
const wxString &dispCol1, const wxString &dispCol2,
const wxString &dispCol1, const wxString &dispCol2,
const wxString &where, const wxString &orderBy,
wxDb *pDb, const wxString &defDir, bool distinctValues,
const wxString &selectStmt, int maxLenCol1, bool allowOk)
@@ -309,7 +309,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxSt
if (!lookup2->Open())
{
wxString tStr;
tStr.Printf(wxT("Unable to open the table '%s'."),tableName);
tStr.Printf(wxT("Unable to open the table '%s'."),tableName.c_str());
tStr += GetExtendedDBErrorMsg2(pDb,__TFILE__,__LINE__);
wxMessageBox(tStr,wxT("ODBC Error..."));
Close();