Update of /cvsroot/mahogany/M/src/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28726/src/modules
Modified Files:
Migrate.cpp
Log Message:
replace deprecated wxPathExists with wxDirExists
Index: Migrate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/Migrate.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -u -2 -r1.26 -r1.27
--- Migrate.cpp 11 Jul 2004 00:07:58 -0000 1.26
+++ Migrate.cpp 9 Apr 2005 15:39:33 -0000 1.27
@@ -1493,5 +1493,5 @@
{
// create a subdirectory for the subfolders if it doesn't exist yet
- if ( !wxPathExists(path) && !wxMkdir(path) )
+ if ( !wxDirExists(path) && !wxMkdir(path) )
{
wxLogWarning(_("Failed to create directory \"%s\" for folder
\"%s\""),
@@ -1593,5 +1593,5 @@
// create a directory if it doesn't exist yet
const String dir = GetDstNameForSource(name);
- return wxPathExists(dir) || wxMkdir(dir);
+ return wxDirExists(dir) || wxMkdir(dir);
}
}
@@ -1638,5 +1638,5 @@
{
const String& dir = Data().dstLocal.root;
- if ( !dir.empty() && !wxPathExists(dir) )
+ if ( !dir.empty() && !wxDirExists(dir) )
{
if ( !wxMkdir(dir) )
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates