diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index 570922a169..1aca7a9a66 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -306,7 +306,7 @@ public: m_targetWindow = this; #ifdef __WXMAC__ - MacSetClipChildren(true); + this->MacSetClipChildren(true); #endif this->Connect(wxEVT_PAINT, wxPaintEventHandler(wxScrolled::OnPaint));