1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

win32 windowing robustness fix.

This commit is contained in:
jules 2013-03-26 14:58:44 +00:00
parent 36ade1a49b
commit ed978fc8dc

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