(svn r17376) -Fix: also draw the white "I've just opened" line for nested windows

This commit is contained in:
rubidium 2009-09-02 11:31:11 +00:00
parent 5cb22df0f5
commit 9ceee42430
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}
}
/**