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:
@@ -987,8 +987,7 @@ wxTreeItemId wxTreeCtrl::AddRoot(const wxString& text,
|
|||||||
m_current->SetHilight( TRUE );
|
m_current->SetHilight( TRUE );
|
||||||
}
|
}
|
||||||
|
|
||||||
Refresh();
|
m_dirty = TRUE;
|
||||||
AdjustMyScrollbars();
|
|
||||||
|
|
||||||
return m_anchor;
|
return m_anchor;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user