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