From 9ceee424304dafe0cb0089347ac19b57c93e111f Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 2 Sep 2009 11:31:11 +0000 Subject: (svn r17376) -Fix: also draw the white "I've just opened" line for nested windows --- src/widget.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/widget.cpp b/src/widget.cpp index e3307bd69..cd3444468 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -582,6 +582,11 @@ void Window::DrawWidgets() const { if (this->nested_root != NULL) { this->nested_root->Draw(this); + + if (this->flags4 & WF_WHITE_BORDER_MASK) { + DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY); + } + return; } @@ -695,7 +700,6 @@ void Window::DrawWidgets() const if (this->flags4 & WF_WHITE_BORDER_MASK) { DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY); } - } /** -- cgit v1.2.3-70-g09d2