From e04507df82af4755d7f1529b37be844058b6c2c1 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 20 Feb 2005 20:50:17 +0000 Subject: [PATCH] Changed wxFopen() calls to use c_str git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/db.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/db.cpp b/src/common/db.cpp index 746c65ce0b..2f19576485 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -3428,7 +3428,7 @@ bool wxDb::Catalog(const wxChar *userID, const wxString &fileName) wxChar typeName[30+1]; SDWORD precision, length; - FILE *fp = wxFopen(fileName.fn_str(),wxT("wt")); + FILE *fp = wxFopen(fileName.c_str,wxT("wt")); if (fp == NULL) return false; @@ -3769,7 +3769,7 @@ bool wxDb::SetSqlLogging(wxDbSqlLogState state, const wxString &filename, bool a { if (fpSqlLog == 0) { - fpSqlLog = wxFopen(filename.fn_str(), (append ? wxT("at") : wxT("wt"))); + fpSqlLog = wxFopen(filename.c_str(), (append ? wxT("at") : wxT("wt"))); if (fpSqlLog == NULL) return false; }