Browse Source

Changed Windows windowing so that the resizeStart() and resizeEnd() methods of the constrainer associated with the application window are called when it is maximised.

tags/2021-05-28
ed 9 years ago
parent
commit
56423ae9fd
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

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

@@ -782,6 +782,9 @@ public:
if (isFullScreen() != shouldBeFullScreen)
{
if (constrainer != nullptr)
constrainer->resizeStart();
fullScreen = shouldBeFullScreen;
const WeakReference<Component> deletionChecker (&component);
@@ -805,6 +808,9 @@ public:
if (deletionChecker != nullptr)
handleMovedOrResized();
if (constrainer != nullptr)
constrainer->resizeEnd();
}
}


Loading…
Cancel
Save