More fixes for !wxUSE_TIMER, !wxUSE_IMAGE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-08-11 12:47:16 +00:00
parent 7da6ab6e2e
commit 4b3163294c
3 changed files with 28 additions and 0 deletions

View File

@@ -311,6 +311,19 @@ wxRendererGeneric::DrawSplitterSash(wxWindow *win,
offset = 3;
}
// We need to erase any droppings left behind on
// the splitter background
if ( win->HasFlag(wxSP_3DBORDER) )
{
wxPen pen(win->GetBackgroundColour());
dc.SetPen(pen);
dc.DrawLine(2, 2, size.x - 2, 2);
dc.DrawLine(2, h - 2, size.x - 2, h - 2);
dc.SetPen(wxNullPen);
}
// from left to right
if ( win->HasFlag(wxSP_3D) )
{