]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/accel.h
add const qualifiers
[wxWidgets.git] / interface / accel.h
index e2f5a6c0ea5042c4771fcfcf298b6f1e5a817b9b..b12465366a4c889ce6009cdd02bb0dee2d38ed53 100644 (file)
@@ -42,17 +42,17 @@ public:
     /**
         Returns the command identifier for the accelerator table entry.
     */
-    int GetCommand();
+    int GetCommand() const;
 
     /**
         Returns the flags for the accelerator table entry.
     */
-    int GetFlags();
+    int GetFlags() const;
 
     /**
         Returns the keycode for the accelerator table entry.
     */
-    int GetKeyCode();
+    int GetKeyCode() const;
 
     /**
         Sets the accelerator entry parameters.
@@ -124,7 +124,7 @@ public:
     /**
         Returns @true if the accelerator table is valid.
     */
-    bool IsOk();
+    bool IsOk() const;
 
     /**
         Assignment operator, using @ref overview_trefcount "reference counting".