- // install and deinstall a system wide hotkey
- virtual bool RegisterHotKey(int hotkeyId, int modifiers, int virtualKeyCode);
+#endif // wxUSE_ACCEL
+
+#if wxUSE_HOTKEY
+ // hot keys (system wide accelerators)
+ // -----------------------------------
+
+ virtual bool RegisterHotKey(int hotkeyId, int modifiers, int keycode);