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