]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/filehistory.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / gtk / filehistory.h
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
10 #ifndef _WX_GTK_FILEHISTORY_H_
11 #define _WX_GTK_FILEHISTORY_H_
12
13 class WXDLLIMPEXP_CORE wxFileHistory : public wxFileHistoryBase
14 {
15 public:
16 wxFileHistory(size_t maxFiles = 9, wxWindowID idBase = wxID_FILE1)
17 : wxFileHistoryBase(maxFiles, idBase) {}
18
19 virtual void AddFileToHistory(const wxString& file);
20
21 DECLARE_DYNAMIC_CLASS(wxFileHistory)
22 };
23
24 #endif // _WX_GTK_FILEHISTORY_H_