From 8a89af527db2d55681428a852586f4b7e5b006f0 Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Mon, 31 Jan 2000 15:08:03 +0000 Subject: [PATCH] wxString fix (c_str()) in doc.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/dbbrowse/doc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2