filehistory.h 762 B

123456789101112131415161718192021222324
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/gtk/filehistory.h
  3. // Purpose: GTK+ bits for wxFileHistory
  4. // Author: Vaclav Slavik
  5. // Created: 2010-05-06
  6. // Copyright: (c) 2010 Vaclav Slavik
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_GTK_FILEHISTORY_H_
  10. #define _WX_GTK_FILEHISTORY_H_
  11. class WXDLLIMPEXP_CORE wxFileHistory : public wxFileHistoryBase
  12. {
  13. public:
  14. wxFileHistory(size_t maxFiles = 9, wxWindowID idBase = wxID_FILE1)
  15. : wxFileHistoryBase(maxFiles, idBase) {}
  16. virtual void AddFileToHistory(const wxString& file);
  17. DECLARE_DYNAMIC_CLASS(wxFileHistory)
  18. };
  19. #endif // _WX_GTK_FILEHISTORY_H_