#endif
#include "wx/defs.h"
+
+#if wxUSE_ACCEL
+
#include "wx/object.h"
#include "wx/event.h"
class wxAcceleratorEntry: public wxObject
{
- public:
-
+public:
wxAcceleratorEntry(int flags = 0, int keyCode = 0, int cmd = 0)
{ m_flags = flags; m_keyCode = keyCode; m_command = cmd; }
class wxAcceleratorTable: public wxObject
{
- DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
-
- public:
+public:
wxAcceleratorTable();
wxAcceleratorTable(int n, wxAcceleratorEntry entries[] );
~wxAcceleratorTable();
bool Ok() const;
-// private:
+// implementation
- int GetCommand( wxKeyEvent &event );
+ int GetCommand( wxKeyEvent &event );
+private:
+ DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
};
#endif
+
+#endif