X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..13973396cb244918489fbc14f6112549c4687881:/include/wx/generic/scrolwin.h diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index fc55e3177b..88ef181e6b 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -71,6 +71,9 @@ public: virtual void DoSetVirtualSize(int x, int y); +#ifdef __WXMAC__ + virtual bool MacClipChildren() const { return true ; } +#endif protected: // this is needed for wxEVT_PAINT processing hack described in // wxScrollHelperEvtHandler::ProcessEvent()