]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/accel.h
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
[wxWidgets.git] / include / wx / osx / accel.h
CommitLineData
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
6762286d
SC
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
17class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject
18{
19DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
20public:
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
5c6eb3a8 32#endif
6762286d 33 // _WX_ACCEL_H_