]> git.saurik.com Git - wxWidgets.git/commitdiff
if we can't detect tooltip color, yellow as used by Tiger is still better than white...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Mar 2008 00:35:24 +0000 (00:35 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 16 Mar 2008 00:35:24 +0000 (00:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/settings.cpp

index 03f1f1dcebfbe28c4fb82298e288ff3ce81091f7..58cecfb357174b30e14fb849aac5fbe6f4929e9e 100644 (file)
@@ -109,7 +109,9 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
             break ;
 
         case wxSYS_COLOUR_INFOBK :
-            resultColor = *wxWHITE ;
+            // we don't have a way to detect tooltip color, so use the
+            // standard value used at least on 10.4:
+            resultColor = wxColour( 0xFF, 0xFF, 0xD3 ) ;
             break ;
         case wxSYS_COLOUR_APPWORKSPACE:
             resultColor =  wxColor( 0x80, 0x80, 0x80 ); ;