No changes, just remove an unused variable.
Get rid of the g++ warning about it.
This commit is contained in:
@@ -2407,7 +2407,6 @@ bool wxRichTextParagraphLayoutBox::Layout(wxDC& dc, wxRichTextDrawingContext& co
|
|||||||
// Check the bottom edge of any floating object
|
// Check the bottom edge of any floating object
|
||||||
if (wxRichTextBuffer::GetFloatingLayoutMode() && GetFloatCollector() && GetFloatCollector()->HasFloats())
|
if (wxRichTextBuffer::GetFloatingLayoutMode() && GetFloatCollector() && GetFloatCollector()->HasFloats())
|
||||||
{
|
{
|
||||||
int bottom = GetFloatCollector()->GetLastRectBottom();
|
|
||||||
// The floating objects are positioned relative to entire buffer, not this box
|
// The floating objects are positioned relative to entire buffer, not this box
|
||||||
int maxFloatHeight = GetFloatCollector()->GetLastRectBottom() - GetPosition().y - topMargin;
|
int maxFloatHeight = GetFloatCollector()->GetLastRectBottom() - GetPosition().y - topMargin;
|
||||||
if (maxFloatHeight > maxHeight)
|
if (maxFloatHeight > maxHeight)
|
||||||
|
Reference in New Issue
Block a user