]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
[wxWidgets.git] / include / wx / scrolwin.h
index 570922a169f3455417dd9b1990b5fcd4dc631dd9..1aca7a9a661f26e92768c0d0d0772c10075229ec 100644 (file)
@@ -306,7 +306,7 @@ public:
         m_targetWindow = this;
 
 #ifdef __WXMAC__
-        MacSetClipChildren(true);
+        this->MacSetClipChildren(true);
 #endif
 
         this->Connect(wxEVT_PAINT, wxPaintEventHandler(wxScrolled::OnPaint));