]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/scrolwin.h
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in...
[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__