]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
implement button support for pre-XP systems (or with themes disabled); using only...
[wxWidgets.git] / src / html / htmlwin.cpp
index b93b8f9b6b32d04d85355a77d0ebdc60dc254e0c..82f7c105579ab0396298deb2afc39e0bf550a927 100644 (file)
@@ -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: