mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
small fix for an obscure win32 keypress problem
This commit is contained in:
parent
f94292a728
commit
3348fc20e5
2 changed files with 6 additions and 4 deletions
|
|
@ -2133,8 +2133,9 @@ private:
|
|||
break;
|
||||
|
||||
case SC_KEYMENU:
|
||||
if (sendInputAttemptWhenModalMessage())
|
||||
return 0;
|
||||
// (NB mustn't call sendInputAttemptWhenModalMessage() here because of very
|
||||
// obscure situations that can arise if a modal loop is started from an alt-key
|
||||
// keypress).
|
||||
|
||||
if (hasTitleBar() && h == GetCapture())
|
||||
ReleaseCapture();
|
||||
|
|
|
|||
|
|
@ -243238,8 +243238,9 @@ private:
|
|||
break;
|
||||
|
||||
case SC_KEYMENU:
|
||||
if (sendInputAttemptWhenModalMessage())
|
||||
return 0;
|
||||
// (NB mustn't call sendInputAttemptWhenModalMessage() here because of very
|
||||
// obscure situations that can arise if a modal loop is started from an alt-key
|
||||
// keypress).
|
||||
|
||||
if (hasTitleBar() && h == GetCapture())
|
||||
ReleaseCapture();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue