]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
[wxWidgets.git] / src / common / filefn.cpp
index 2c9ebbda40cc4ff8ab4c9048fbe0be0258666d1c..b9053ba8ac76d8dda4841b558f47f568de45b137 100644 (file)
@@ -230,6 +230,13 @@ bool wxPathList::EnsureFileAccessible (const wxString& path)
     return Add(wxPathOnly(path));
 }
 
+#if WXWIN_COMPATIBILITY_2_6
+bool wxPathList::Member (const wxString& path) const
+{
+    return Index(path) != wxNOT_FOUND;
+}
+#endif
+
 wxString wxPathList::FindValidPath (const wxString& file) const
 {
     // normalize the given string as it could be a path + a filename
@@ -1575,6 +1582,13 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz)
     // __WXWINCE__
 }
 
+#if WXWIN_COMPATIBILITY_2_6
+wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
+{
+    return wxDoGetCwd(buf,sz);
+}
+#endif // WXWIN_COMPATIBILITY_2_6
+
 wxString wxGetCwd()
 {
     wxString str;