warning fixes/minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -242,8 +242,6 @@ void wxRichTextCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
||||
// Paint the background
|
||||
PaintBackground(dc);
|
||||
|
||||
wxRegion dirtyRegion = GetUpdateRegion();
|
||||
|
||||
wxRect drawingArea(GetLogicalPoint(wxPoint(0, 0)), GetClientSize());
|
||||
wxRect availableSpace(GetClientSize());
|
||||
if (GetBuffer().GetDirty())
|
||||
|
Reference in New Issue
Block a user