fixed bug in AddRoot() which wasn't refreshing everything properly and so a tree without children wasn't displayed properly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-04-18 13:44:48 +00:00
parent a94d44b9b7
commit c3d12e0433

View File

@@ -987,8 +987,7 @@ wxTreeItemId wxTreeCtrl::AddRoot(const wxString& text,
m_current->SetHilight( TRUE );
}
Refresh();
AdjustMyScrollbars();
m_dirty = TRUE;
return m_anchor;
}