Ensure that we accept WXK_XXX in RegisterHotKey() in wxMSW
RegisterHotKey() wrongly expected to be given VK_XXX MSW virtual key code constant, which couldn't work in portable code, so fix it to accept WXK_XXX constants, while preserving compatibility by still accepting VK_XXX values not clashing with them.
This commit is contained in:
@@ -3758,7 +3758,8 @@ public:
|
||||
or wxMOD_WIN specifying the modifier keys that have to be pressed along
|
||||
with the key.
|
||||
@param virtualKeyCode
|
||||
The virtual key code of the hotkey.
|
||||
The key code of the hotkey, e.g. an ASCII character such as @c 'K'
|
||||
or one of elements of wxKeyCode enum.
|
||||
|
||||
@return @true if the hotkey was registered successfully. @false if some
|
||||
other application already registered a hotkey with this
|
||||
|
Reference in New Issue
Block a user