1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxAcceleratorTable class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/string.h"
18 class WXDLLEXPORT wxAcceleratorTable
: public wxObject
20 DECLARE_DYNAMIC_CLASS(wxAcceleratorTable
)
23 wxAcceleratorTable(int n
, const wxAcceleratorEntry entries
[]); // Load from array
25 ~wxAcceleratorTable();
27 bool operator == (const wxAcceleratorTable
& accel
) const
28 { return m_refData
== accel
.m_refData
; }
29 bool operator != (const wxAcceleratorTable
& accel
) const
30 { return m_refData
!= accel
.m_refData
; }
34 int GetCommand( wxKeyEvent
&event
);
37 // WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;