X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dcf924a345ea8ffbc1cf6b40b5f75c6005e504c0..fb20fa43a07ce52feb43a4b26514fc7a6a11a6f5:/include/wx/gtk/accel.h diff --git a/include/wx/gtk/accel.h b/include/wx/gtk/accel.h index 4066849bea..51efa101f7 100644 --- a/include/wx/gtk/accel.h +++ b/include/wx/gtk/accel.h @@ -56,8 +56,7 @@ extern wxAcceleratorTable wxNullAcceleratorTable; 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; } @@ -79,9 +78,7 @@ class wxAcceleratorEntry: public wxObject class wxAcceleratorTable: public wxObject { - DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) - - public: +public: wxAcceleratorTable(); wxAcceleratorTable(int n, wxAcceleratorEntry entries[] ); ~wxAcceleratorTable(); @@ -99,10 +96,13 @@ class wxAcceleratorTable: public wxObject bool Ok() const; -// private: - - int GetCommand( wxKeyEvent &event ); + // implementation + // -------------- + + int GetCommand( wxKeyEvent &event ); +private: + DECLARE_DYNAMIC_CLASS(wxAcceleratorTable) }; #endif