X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a53b9b8fe6fc88f243f777db03bafa3a9651701..0148745bb7a9b1e1046229577fbd802eb9f03e8f:/src/generic/renderg.cpp diff --git a/src/generic/renderg.cpp b/src/generic/renderg.cpp index fdfb957f7c..5aa4bc3d47 100644 --- a/src/generic/renderg.cpp +++ b/src/generic/renderg.cpp @@ -125,7 +125,7 @@ void wxRendererGeneric::Cleanup() { if (sm_rendererGeneric) delete sm_rendererGeneric; - + sm_rendererGeneric = NULL; } @@ -304,7 +304,7 @@ wxRendererGeneric::DrawSplitterSash(wxWindow *win, const wxCoord h = size.y; wxCoord offset = 0; - + // If we're drawing the border, draw the sash 3d lines shorter if ( win->HasFlag(wxSP_3DBORDER) ) { @@ -312,8 +312,8 @@ wxRendererGeneric::DrawSplitterSash(wxWindow *win, } dc.SetPen(*wxTRANSPARENT_PEN); - dc.SetBrush(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))); - + dc.SetBrush(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE))); + if ( win->HasFlag(wxSP_3DSASH) ) { // Draw the 3D sash