Update of /cvsroot/mahogany/M/src/adb
In directory usw-pr-cvs1:/tmp/cvs-serv13684/src/adb
Modified Files:
AdbFrame.cpp ProvFC.cpp
Log Message:
wxDirExists->wxPathExists, IsAbsPath->wxIsAbsolutePath
Index: AdbFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/AdbFrame.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -b -u -2 -r1.97 -r1.98
--- AdbFrame.cpp 14 Sep 2002 22:07:46 -0000 1.97
+++ AdbFrame.cpp 13 Oct 2002 12:24:53 -0000 1.98
@@ -1376,5 +1376,5 @@
if ( !m_astrAdb.Count() ) {
String bookAutoCollect = READ_APPCONFIG_TEXT(MP_AUTOCOLLECT_ADB);
- if ( !IsAbsPath(bookAutoCollect) ) {
+ if ( !wxIsAbsolutePath(bookAutoCollect) ) {
bookAutoCollect.Prepend(mApplication->GetLocalDir() + _T('/'));
}
@@ -1699,5 +1699,5 @@
// for file based books we have to take account of the fact that either
// string may be relative or absolute filename
- wxASSERT_MSG( IsAbsPath(strName), _T("book name should be absolute") );
+ wxASSERT_MSG( wxIsAbsolutePath(strName), _T("book name should be absolute") );
#ifdef __WXMSW__
@@ -1709,5 +1709,5 @@
for ( size_t n = 0; n < count; n++ ) {
wxString bookname = m_astrAdb[n];
- if ( !IsAbsPath(bookname) ) {
+ if ( !wxIsAbsolutePath(bookname) ) {
bookname = mApplication->GetLocalDir() + _T('/') + bookname;
}
Index: ProvFC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/ProvFC.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- ProvFC.cpp 13 Sep 2002 01:27:47 -0000 1.37
+++ ProvFC.cpp 13 Oct 2002 12:24:53 -0000 1.38
@@ -676,5 +676,5 @@
String path;
- if ( IsAbsPath(filename) )
+ if ( wxIsAbsolutePath(filename) )
path = filename;
else
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates