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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user