X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9806a47c30050b2beeb772f69d4cef4a20dc8745..ef344ff86223f1f0961f025c0b249c898529c095:/include/wx/generic/scrolwin.h diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index a8f180e034..ecf2c8fa26 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -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__