Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628). Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,7 +150,7 @@ enum wxFileKind
|
||||
wxFileOffset wxSeek(int fd, wxFileOffset offset, int origin);
|
||||
#define wxLSeek wxSeek
|
||||
wxFileOffset wxTell(int fd);
|
||||
|
||||
|
||||
// always Unicode under WinCE
|
||||
#define wxMkDir _wmkdir
|
||||
#define wxRmDir _wrmdir
|
||||
@@ -462,7 +462,9 @@ WXDLLIMPEXP_BASE wxFileKind wxGetFileKind(int fd);
|
||||
WXDLLIMPEXP_BASE wxFileKind wxGetFileKind(FILE *fp);
|
||||
|
||||
// compatibility defines, don't use in new code
|
||||
#define wxDirExists wxPathExists
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
#define wxDirExists wxPathExists
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// separators in file names
|
||||
|
Reference in New Issue
Block a user