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