1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/accel.h
3 // Purpose: wxAcceleratorTable class
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
14 #include "wx/object.h"
15 #include "wx/string.h"
18 class WXDLLIMPEXP_CORE wxAcceleratorTable
: public wxObject
20 DECLARE_DYNAMIC_CLASS(wxAcceleratorTable
)
23 wxAcceleratorTable(const wxString
& resource
); // Load from .rc resource
24 wxAcceleratorTable(int n
, const wxAcceleratorEntry entries
[]); // Load from array
26 virtual ~wxAcceleratorTable();
28 bool Ok() const { return IsOk(); }
31 // Implementation only
33 wxAcceleratorEntry
* GetEntries() const;
36 extern WXDLLIMPEXP_DATA_CORE(wxAcceleratorTable
) wxNullAcceleratorTable
;