don't suppress default erase background logic, we do have to paint bg somewhere

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-02-09 20:43:27 +00:00
parent 2fc79cf212
commit 12148be28d

View File

@ -848,8 +848,13 @@ void wxHtmlWindow::OnCellMouseHover(wxHtmlCell * WXUNUSED(cell),
// do nothing here
}
void wxHtmlWindow::OnEraseBackground(wxEraseEvent& WXUNUSED(event))
void wxHtmlWindow::OnEraseBackground(wxEraseEvent& event)
{
// we do have to erase background now that we reuse it (instead of
// overwriting it) in OnPaint() below, but maybe we should set some flag if
// we get here as this would mean that user code doesn't paint background
// itself and then we wouldn't have to copy old bits to dcm below...
event.Skip();
}
void wxHtmlWindow::OnPaint(wxPaintEvent& WXUNUSED(event))