Applied patch [ 1196827 ] Fixes Assert with wxTreeCtrl::GetSelections on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -348,7 +348,8 @@ public:
|
|||||||
{
|
{
|
||||||
m_selections.Empty();
|
m_selections.Empty();
|
||||||
|
|
||||||
DoTraverse(tree->GetRootItem());
|
if (tree->GetCount() > 0)
|
||||||
|
DoTraverse(tree->GetRootItem());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual bool OnVisit(const wxTreeItemId& item)
|
virtual bool OnVisit(const wxTreeItemId& item)
|
||||||
|
Reference in New Issue
Block a user