merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -274,14 +274,21 @@ public:
|
||||
|
||||
// Comparison
|
||||
|
||||
// compares with the rules of this platform
|
||||
bool SameAs(const wxFileName &filepath,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
// compares with the rules of the given platforms format
|
||||
bool SameAs(const wxFileName& filepath,
|
||||
wxPathFormat format = wxPATH_NATIVE) const;
|
||||
|
||||
// uses the current platform settings
|
||||
bool operator==(const wxFileName& filename) { return SameAs(filename); }
|
||||
bool operator==(const wxString& filename)
|
||||
{ return *this == wxFileName(filename); }
|
||||
// compare with another filename object
|
||||
bool operator==(const wxFileName& filename) const
|
||||
{ return SameAs(filename); }
|
||||
bool operator!=(const wxFileName& filename) const
|
||||
{ return !SameAs(filename); }
|
||||
|
||||
// compare with a filename string interpreted as a native file name
|
||||
bool operator==(const wxString& filename) const
|
||||
{ return SameAs(wxFileName(filename)); }
|
||||
bool operator!=(const wxString& filename) const
|
||||
{ return !SameAs(wxFileName(filename)); }
|
||||
|
||||
// are the file names of this type cases sensitive?
|
||||
static bool IsCaseSensitive( wxPathFormat format = wxPATH_NATIVE );
|
||||
|
Reference in New Issue
Block a user