]>
Commit | Line | Data |
---|---|---|
6762286d | 1 | ///////////////////////////////////////////////////////////////////////////// |
80fdcdb9 | 2 | // Name: wx/osx/accel.h |
6762286d SC |
3 | // Purpose: wxAcceleratorTable class |
4 | // Author: Stefan Csomor | |
5 | // Modified by: | |
6 | // Created: 1998-01-01 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Stefan Csomor | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_ACCEL_H_ | |
13 | #define _WX_ACCEL_H_ | |
14 | ||
15 | #include "wx/string.h" | |
16 | #include "wx/event.h" | |
17 | ||
18 | class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject | |
19 | { | |
20 | DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) | |
21 | public: | |
22 | wxAcceleratorTable(); | |
23 | wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array | |
24 | ||
25 | virtual ~wxAcceleratorTable(); | |
26 | ||
27 | bool Ok() const { return IsOk(); } | |
28 | bool IsOk() const; | |
29 | ||
30 | int GetCommand( wxKeyEvent &event ); | |
31 | }; | |
32 | ||
5c6eb3a8 | 33 | #endif |
6762286d | 34 | // _WX_ACCEL_H_ |