]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrlwing.cpp
changed wxAuiBlendColour() to work with unsigned chars instead of doubles as it's...
[wxWidgets.git] / src / generic / scrlwing.cpp
index 45a6e21f3c5cff2f0662866417aebcd26ce3eb37..ec5d404f5098efa1d2ad914d052f56575dcb4811 100644 (file)
@@ -1341,6 +1341,11 @@ void wxScrollHelper::HandleOnChildFocus(wxChildFocusEvent& event)
     if ( win == m_targetWindow )
         return; // nothing to do
 
+#ifdef __WXMAC__
+    if (wxDynamicCast(win, wxScrollBar))
+        return;
+#endif
+
     // Fixing ticket: http://trac.wxwidgets.org/ticket/9563
     // When a child inside a wxControlContainer receives a focus, the
     // wxControlContainer generates an artificial wxChildFocusEvent for