diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 1d3d6605ec..f02f3b99cc 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4636,7 +4636,7 @@ void wxListMainWindow::OnScroll(wxScrollWinEvent& event) ResetVisibleLinesRange(); // FIXME -#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__) +#if ( defined(__WXGTK__) || defined(__WXMAC__) ) && !defined(__WXUNIVERSAL__) wxScrolledWindow::OnScroll(event); #else HandleOnScroll( event );