Browse Source

win32 windowing robustness fix.

tags/2021-05-28
jules 12 years ago
parent
commit
ed978fc8dc
1 changed files with 10 additions and 6 deletions
  1. +10
    -6
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 10
- 6
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -584,9 +584,11 @@ public:
h + windowBorder.getTopAndBottom(),
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER);
updateBorderSize();
repaintNowIfTransparent();
if (isValidPeer (this)
{
updateBorderSize();
repaintNowIfTransparent();
}
}
void setBounds (int x, int y, int w, int h, bool isNowFullScreen)
@@ -601,9 +603,11 @@ public:
h + windowBorder.getTopAndBottom(),
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER);
updateBorderSize();
repaintNowIfTransparent();
if (isValidPeer (this)
{
updateBorderSize();
repaintNowIfTransparent();
}
}
Rectangle<int> getBounds() const


Loading…
Cancel
Save