From: Bart A.M. Jourquin Date: Mon, 31 Jan 2000 15:08:03 +0000 (+0000) Subject: wxString fix (c_str()) in doc.cpp X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8a89af527db2d55681428a852586f4b7e5b006f0 wxString fix (c_str()) in doc.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/demos/dbbrowse/doc.cpp b/demos/dbbrowse/doc.cpp index 5a3c0cdb2a..cc036dc878 100644 --- a/demos/dbbrowse/doc.cpp +++ b/demos/dbbrowse/doc.cpp @@ -190,7 +190,7 @@ bool mjDoc::OnInitODBC() (p_DSN+i)->Drv = s_SortDsDesc[i]; (p_DSN+i)->Usr = ""; (p_DSN+i)->Pas = ""; - Temp0.Printf("%02d) Dsn(%s) DsDesc(%s)",i,(p_DSN+i)->Dsn,(p_DSN+i)->Drv); + Temp0.Printf("%02d) Dsn(%s) DsDesc(%s)",i,(p_DSN+i)->Dsn.c_str(),(p_DSN+i)->Drv.c_str()); wxLogMessage(Temp0); } i = 0;