]> git.saurik.com Git - wxWidgets.git/commitdiff
wxString fix (c_str()) in doc.cpp
authorBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Mon, 31 Jan 2000 15:08:03 +0000 (15:08 +0000)
committerBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Mon, 31 Jan 2000 15:08:03 +0000 (15:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/doc.cpp

index 5a3c0cdb2ae18fd35f4187127d340f245b938b53..cc036dc8788f4a05d8c5bc8ed8274ee5f7d59c5d 100644 (file)
@@ -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;