X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/690ddfec6e14f663fd1b5b98f1b68208344d1ffc..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/filehistory.h diff --git a/include/wx/filehistory.h b/include/wx/filehistory.h index 7c63d6bb95..ea37948686 100644 --- a/include/wx/filehistory.h +++ b/include/wx/filehistory.h @@ -23,6 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenu; class WXDLLIMPEXP_FWD_BASE wxConfigBase; +class WXDLLIMPEXP_FWD_BASE wxFileName; // ---------------------------------------------------------------------------- // File history management @@ -79,6 +80,10 @@ private: // The ID of the first history menu item (Doesn't have to be wxID_FILE1) wxWindowID m_idBase; + // Normalize a file name to canonical form. We have a special function for + // this to ensure the same normalization is used everywhere. + static wxString NormalizeFileName(const wxFileName& filename); + wxDECLARE_NO_COPY_CLASS(wxFileHistoryBase); };