X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5048c832bb3c2f41ecd29ac079d74e39e304aec8..02ac8d7a5ddbd0694b46cc5133e82eb22d935829:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 959f775c70..dce69059f9 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -517,11 +517,16 @@ public: 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 // ------------------------- @@ -872,7 +877,7 @@ public: 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