'-' 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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user