]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/db.cpp
added debug/release DLL configurations so that VC++ chooses the right one when buildi...
[wxWidgets.git] / src / common / db.cpp
index 746c65ce0b7915bf2dedecf1baa9ce6560be7008..2f19576485ff399148d0db3d47e994fb89914f62 100644 (file)
@@ -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;
         }