No need to explicitly Flush(), as it's done in BWindow after B_PULSE message handling

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13072 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-06-12 06:05:46 +00:00
parent e93cd6508d
commit 29e6ad95d0

View File

@ -2173,9 +2173,6 @@ BTextView::Highlight(int32 startOffset, int32 endOffset)
SetDrawingMode(B_OP_INVERT);
FillRegion(&selRegion, B_SOLID_HIGH);
SetDrawingMode(B_OP_COPY);
// TODO: unnecessary in R5 - maybe we should
// carry out drawing commands outside Draw() immediately?
Flush();
}
@ -3817,9 +3814,6 @@ BTextView::DrawCaret(int32 offset)
caretRect.bottom = caretPoint.y + lineHeight;
InvertRect(caretRect);
// TODO: This call seems not necessary on R5. So we need to fix something
// in our app_server. We should "auto-flush" eventually.
Flush();
}