From: Stefan Csomor Date: Fri, 10 Jul 2009 17:56:19 +0000 (+0000) Subject: updating conditions for OSX X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2e1517a2e3af2954cf2c5bebf65a6fdde185db81 updating conditions for OSX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/scrlwing.cpp b/src/generic/scrlwing.cpp index 300f0a1463..2f55dc8835 100644 --- a/src/generic/scrlwing.cpp +++ b/src/generic/scrlwing.cpp @@ -1073,7 +1073,7 @@ void wxScrollHelperBase::HandleOnChildFocus(wxChildFocusEvent& event) if ( win == m_targetWindow ) return; // nothing to do -#ifdef __WXMAC__ +#if defined( __WXOSX__ ) && wxUSE_SCROLLBAR if (wxDynamicCast(win, wxScrollBar)) return; #endif