Browse Source

small fix for an obscure win32 keypress problem

tags/2021-05-28
jules 16 years ago
parent
commit
3348fc20e5
2 changed files with 6 additions and 4 deletions
  1. +3
    -2
      build/win32/platform_specific_code/juce_win32_Windowing.cpp
  2. +3
    -2
      juce_amalgamated.cpp

+ 3
- 2
build/win32/platform_specific_code/juce_win32_Windowing.cpp View File

@@ -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();


+ 3
- 2
juce_amalgamated.cpp View File

@@ -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…
Cancel
Save