]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/scrolwin.h
fixed a canonical example of Stupid Bug(tm)
[wxWidgets.git] / include / wx / generic / scrolwin.h
index a8f180e03418f8b0342cbcfca5196e0c795bc37c..ecf2c8fa2691f08648d14be76fa14b88ccf11b3a 100644 (file)
@@ -66,8 +66,14 @@ class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
 
     virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
 
+protected:
+    // this is needed for wxEVT_PAINT processing hack described in
+    // wxScrollHelperEvtHandler::ProcessEvent()
+    void OnPaint(wxPaintEvent& event);
+
 private:
     DECLARE_ABSTRACT_CLASS(wxGenericScrolledWindow)
+    DECLARE_EVENT_TABLE()
 };
 
 #ifdef __VISUALC__