X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2f3c71d83c52fc4db6c8041de533562816b1d6..a2115c88f381b95cf6d423a5d3128ccbe20c4fa1:/include/wx/filefn.h?ds=sidebyside diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 22db00222b..b0565fdbbf 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -16,7 +16,7 @@ #pragma interface "filefn.h" #endif -#include +#include "wx/list.h" // ---------------------------------------------------------------------------- // constants @@ -159,21 +159,21 @@ WXDLLEXPORT bool wxMkdir(const wxString& dir, int perm = 0777); WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0); // separators in file names -#define wxFILE_SEP_EXT _T('.') -#define wxFILE_SEP_DSK _T(':') -#define wxFILE_SEP_PATH_DOS _T('\\') -#define wxFILE_SEP_PATH_UNIX _T('/') +#define wxFILE_SEP_EXT T('.') +#define wxFILE_SEP_DSK T(':') +#define wxFILE_SEP_PATH_DOS T('\\') +#define wxFILE_SEP_PATH_UNIX T('/') // separator in the path list (as in PATH environment variable) // NB: these are strings and not characters on purpose! -#define wxPATH_SEP_DOS _T(";") -#define wxPATH_SEP_UNIX _T(":") +#define wxPATH_SEP_DOS T(";") +#define wxPATH_SEP_UNIX T(":") // platform independent versions #ifdef __UNIX__ #define wxFILE_SEP_PATH wxFILE_SEP_PATH_UNIX #define wxPATH_SEP wxPATH_SEP_UNIX -#else // Windows +#else // Windows and OS/2 #define wxFILE_SEP_PATH wxFILE_SEP_PATH_DOS #define wxPATH_SEP wxPATH_SEP_DOS #endif // Unix/Windows @@ -182,7 +182,7 @@ WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0); // filename1.IsSameAs(filename2, wxARE_FILENAMES_CASE_SENSITIVE) #ifdef __UNIX__ #define wxARE_FILENAMES_CASE_SENSITIVE TRUE -#else // Windows +#else // Windows and OS/2 #define wxARE_FILENAMES_CASE_SENSITIVE FALSE #endif // Unix/Windows