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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user