wxAcceleratorTable *GetAcceleratorTable()
{ return &m_acceleratorTable; }
- // 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);
virtual bool UnregisterHotKey(int hotkeyId);
+#endif // wxUSE_HOTKEY
-#endif // wxUSE_ACCEL
// dialog units translations
// -------------------------
virtual void OnInternalIdle() {}
// call internal idle recursively
- void ProcessInternalIdle() ;
+// void ProcessInternalIdle() ;
// get the handle of the window for the underlying window system: this
// is only used for wxWin itself or for user code which wants to call