X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b11752c4f9e1fd4b11ba3d184246267facb3ad3..8f4745feeb2850f3bebb3af45407e164550d541a:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index b93b8f9b6b..82f7c10557 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -71,7 +71,7 @@ private: int m_pos, m_orient; - DECLARE_NO_COPY_CLASS(wxHtmlWinAutoScrollTimer) + wxDECLARE_NO_COPY_CLASS(wxHtmlWinAutoScrollTimer); }; void wxHtmlWinAutoScrollTimer::Notify() @@ -1103,9 +1103,10 @@ void wxHtmlWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) void wxHtmlWindow::OnSize(wxSizeEvent& event) { + event.Skip(); + wxDELETE(m_backBuffer); - wxScrolledWindow::OnSize(event); CreateLayout(); // Recompute selection if necessary: