From: Václav Slavík Date: Sun, 16 Mar 2008 00:35:24 +0000 (+0000) Subject: if we can't detect tooltip color, yellow as used by Tiger is still better than white... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bea6ba2d3bfdd8587bbbfbed3e4a80674886f4fc if we can't detect tooltip color, yellow as used by Tiger is still better than white, which isn't used anywhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index 03f1f1dceb..58cecfb357 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -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 ); ;