Return true from GetRangeSize or partial extents will be incorrectly filled in

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2014-02-08 11:55:22 +00:00
parent be3af02d3a
commit c3d2dbb92e

View File

@@ -12215,7 +12215,7 @@ bool wxRichTextImage::GetRangeSize(const wxRichTextRange& range, wxSize& size, i
size.x = 0; size.y = 0;
if (partialExtents)
partialExtents->Add(0);
return false;
return true;
}
wxRichTextAttr attr(GetAttributes());