]> git.saurik.com Git - wxWidgets.git/commitdiff
updating conditions for OSX
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 10 Jul 2009 17:56:19 +0000 (17:56 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 10 Jul 2009 17:56:19 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/scrlwing.cpp

index 300f0a1463d5e7ac1a54cf7a40c9aa6d065a5f64..2f55dc88357a84b1bca0ad483c863b6dfa2a8f09 100644 (file)
@@ -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