From 3a061ad3196fb2250e006eeab7ea5359797ac39a Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 14 Dec 2015 10:21:21 +0000 Subject: [PATCH] Removed an old piece of code that hard-coded a dark border around non-resizable non-native DocumentWindows --- modules/juce_gui_basics/windows/juce_DocumentWindow.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/juce_gui_basics/windows/juce_DocumentWindow.cpp b/modules/juce_gui_basics/windows/juce_DocumentWindow.cpp index a397a36516..e94641cbf0 100644 --- a/modules/juce_gui_basics/windows/juce_DocumentWindow.cpp +++ b/modules/juce_gui_basics/windows/juce_DocumentWindow.cpp @@ -188,15 +188,6 @@ void DocumentWindow::paint (Graphics& g) { ResizableWindow::paint (g); - if (resizableBorder == nullptr) - { - RectangleList border (getLocalBounds()); - border.subtract (getBorderThickness().subtractedFrom (getLocalBounds())); - - g.setColour (getBackgroundColour().overlaidWith (Colour (0x80000000))); - g.fillRectList (border); - } - const Rectangle titleBarArea (getTitleBarArea()); g.reduceClipRegion (titleBarArea); g.setOrigin (titleBarArea.getPosition());