'-' and '+' icons were reversed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-20 18:59:36 +00:00
parent 9d99961992
commit e8448b790f

View File

@@ -136,7 +136,7 @@ wxRendererGeneric::DrawTreeItemButton(wxWindow *win,
dc.SetPen(*wxBLACK_PEN);
dc.DrawLine(xMiddle - 2, yMiddle, xMiddle + 3, yMiddle);
if ( flags & wxCONTROL_EXPANDED )
if ( !(flags & wxCONTROL_EXPANDED) )
{
// turn "-" into "+"
dc.DrawLine(xMiddle, yMiddle - 2, xMiddle, yMiddle + 3);