Correct restoration of tree icon logic
This commit is contained in:
@@ -426,6 +426,9 @@ private:
|
|||||||
imageIndex = states[wxTreeItemIcon_Selected];
|
imageIndex = states[wxTreeItemIcon_Selected];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( imageIndex == -1 )
|
||||||
|
imageIndex = states[wxTreeItemIcon_Normal];
|
||||||
|
|
||||||
return imageIndex;
|
return imageIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user