X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/74e34480fbfd892bc6450c3978b825b81c3c870b..3c87527e89228b537800d06e1c32a62900417beb:/include/wx/gtk1/accel.h diff --git a/include/wx/gtk1/accel.h b/include/wx/gtk1/accel.h index 4765e6fe3d..9bca3cf6f9 100644 --- a/include/wx/gtk1/accel.h +++ b/include/wx/gtk1/accel.h @@ -15,6 +15,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_ACCEL + #include "wx/object.h" #include "wx/event.h" @@ -76,9 +79,7 @@ class wxAcceleratorEntry: public wxObject class wxAcceleratorTable: public wxObject { - DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) - - public: +public: wxAcceleratorTable(); wxAcceleratorTable(int n, wxAcceleratorEntry entries[] ); ~wxAcceleratorTable(); @@ -96,10 +97,14 @@ class wxAcceleratorTable: public wxObject bool Ok() const; -// private: +// implementation - int GetCommand( wxKeyEvent &event ); + int GetCommand( wxKeyEvent &event ); +private: + DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) }; #endif + +#endif