]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/accel.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / accel.h
index 4066849bea7d88c4acdce2b7fd182f0f4a21803a..a60eb15e981ee4d14e609dbea1ac9509655d9769 100644 (file)
@@ -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,12 @@ class wxAcceleratorTable: public wxObject
 
     bool Ok() const;
     
-//  private:
+//  implementation
   
-    int GetCommand( wxKeyEvent &event ); 
+    int GetCommand( wxKeyEvent &event );
     
+private:
+    DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
 };
 
 #endif