X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..8f4745feeb2850f3bebb3af45407e164550d541a:/src/html/htmlwin.cpp?ds=sidebyside diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 56c6f5d7b7..82f7c10557 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -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: