]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/accel.h
Removed LastError() from wxFilterStream
[wxWidgets.git] / include / wx / gtk / accel.h
index 4765e6fe3ddf483f3543d59c3d0729bb439a47fd..9bca3cf6f937fc92057715fd8f252efa50966994 100644 (file)
@@ -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