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());