X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/690ddfec6e14f663fd1b5b98f1b68208344d1ffc..35d6156ba4efddad24c032dce4f84ed383a9ce5c:/include/wx/filehistory.h diff --git a/include/wx/filehistory.h b/include/wx/filehistory.h index 7c63d6bb95..b6cb1cb501 100644 --- a/include/wx/filehistory.h +++ b/include/wx/filehistory.h @@ -3,7 +3,6 @@ // Purpose: wxFileHistory class // Author: Julian Smart, Vaclav Slavik // Created: 2010-05-03 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart, Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -23,6 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenu; class WXDLLIMPEXP_FWD_BASE wxConfigBase; +class WXDLLIMPEXP_FWD_BASE wxFileName; // ---------------------------------------------------------------------------- // File history management @@ -79,6 +79,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); };