X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5601914e98040a5ff99ea46c56f4ccfa68ef198b..7af284fda7500594b2ab86c8ba60138164ab4d04:/include/wx/mac/accel.h?ds=sidebyside diff --git a/include/wx/mac/accel.h b/include/wx/mac/accel.h index d55e1ea8f1..fd7d76e277 100644 --- a/include/wx/mac/accel.h +++ b/include/wx/mac/accel.h @@ -17,13 +17,13 @@ #endif #include "wx/string.h" +#include "wx/event.h" class WXDLLEXPORT wxAcceleratorTable: public wxObject { DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) public: wxAcceleratorTable(); - wxAcceleratorTable(const wxString& resource); // Load from .rc resource wxAcceleratorTable(int n, wxAcceleratorEntry entries[]); // Load from array // Copy constructors @@ -37,6 +37,8 @@ public: inline bool operator != (const wxAcceleratorTable& accel) { return m_refData != accel.m_refData; } bool Ok() const; + + int GetCommand( wxKeyEvent &event ); }; WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;