1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/accel.h
3 // Purpose: wxAcceleratorTable class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/object.h"
16 #include "wx/string.h"
19 class WXDLLIMPEXP_CORE wxAcceleratorTable
: public wxObject
21 DECLARE_DYNAMIC_CLASS(wxAcceleratorTable
)
24 wxAcceleratorTable(const wxString
& resource
); // Load from .rc resource
25 wxAcceleratorTable(int n
, const wxAcceleratorEntry entries
[]); // Load from array
27 virtual ~wxAcceleratorTable();
29 bool Ok() const { return IsOk(); }
32 // Implementation only
34 wxAcceleratorEntry
* GetEntries() const;
37 WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable
) wxNullAcceleratorTable
;