From 592954dd8ba16070985184d49b534d0a7889349e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 3 May 2009 07:57:11 +0000 Subject: [PATCH] add missing fn_str() calls to fix wxUSE_STL=1 wxWinCE build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index f74282c55f..cc9f2c89b0 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1279,7 +1279,7 @@ bool wxMkdir(const wxString& dir, int perm) #else // !MSW, !DOS and !OS/2 VAC++ wxUnusedVar(perm); #ifdef __WXWINCE__ - if ( CreateDirectory(dir, NULL) == 0 ) + if ( CreateDirectory(dir.fn_str(), NULL) == 0 ) #else if ( wxMkDir(dir.fn_str()) != 0 ) #endif @@ -1304,7 +1304,7 @@ bool wxRmdir(const wxString& dir, int WXUNUSED(flags)) #if defined(__OS2__) if ( ::DosDeleteDir(dir.c_str()) != 0 ) #elif defined(__WXWINCE__) - if ( RemoveDirectory(dir) == 0 ) + if ( RemoveDirectory(dir.fn_str()) == 0 ) #else if ( wxRmDir(dir.fn_str()) != 0 ) #endif -- 2.49.0