Patch #753465 a fix for Bug#750363.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1921,6 +1921,13 @@ bool wxTreeCtrl::GetBoundingRect(const wxTreeItemId& item,
|
||||
bool textOnly) const
|
||||
{
|
||||
RECT rc;
|
||||
|
||||
// Virtual root items have no bounding rectangle
|
||||
if ( IS_VIRTUAL_ROOT(item) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( TreeView_GetItemRect(GetHwnd(), HITEM(item),
|
||||
&rc, textOnly) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user