Fix wrong wxUSE_ACCEL around wxUSE_HOTKEY-related code in wxMSW.
Closes #15193. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -351,7 +351,7 @@ public:
|
||||
bool HandleChar(WXWPARAM wParam, WXLPARAM lParam);
|
||||
bool HandleKeyDown(WXWPARAM wParam, WXLPARAM lParam);
|
||||
bool HandleKeyUp(WXWPARAM wParam, WXLPARAM lParam);
|
||||
#if wxUSE_ACCEL
|
||||
#if wxUSE_HOTKEY
|
||||
bool HandleHotKey(WXWPARAM wParam, WXLPARAM lParam);
|
||||
#endif
|
||||
#ifdef __WIN32__
|
||||
|
@@ -7306,8 +7306,6 @@ bool wxWindowMSW::UnregisterHotKey(int hotkeyId)
|
||||
return true;
|
||||
}
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
|
||||
bool wxWindowMSW::HandleHotKey(WXWPARAM wParam, WXLPARAM lParam)
|
||||
{
|
||||
int win_modifiers = LOWORD(lParam);
|
||||
@@ -7322,8 +7320,6 @@ bool wxWindowMSW::HandleHotKey(WXWPARAM wParam, WXLPARAM lParam)
|
||||
return HandleWindowEvent(event);
|
||||
}
|
||||
|
||||
#endif // wxUSE_ACCEL
|
||||
|
||||
#endif // wxUSE_HOTKEY
|
||||
|
||||
// Not tested under WinCE
|
||||
|
Reference in New Issue
Block a user