From 56423ae9fd7d428fefbf0b948e663bddf22e7f5e Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 5 Sep 2016 14:24:17 +0100 Subject: [PATCH] Changed Windows windowing so that the resizeStart() and resizeEnd() methods of the constrainer associated with the application window are called when it is maximised. --- modules/juce_gui_basics/native/juce_win32_Windowing.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp index 920e16ee72..cada40a6b1 100644 --- a/modules/juce_gui_basics/native/juce_win32_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_win32_Windowing.cpp @@ -782,6 +782,9 @@ public: if (isFullScreen() != shouldBeFullScreen) { + if (constrainer != nullptr) + constrainer->resizeStart(); + fullScreen = shouldBeFullScreen; const WeakReference deletionChecker (&component); @@ -805,6 +808,9 @@ public: if (deletionChecker != nullptr) handleMovedOrResized(); + + if (constrainer != nullptr) + constrainer->resizeEnd(); } }