From bea6ba2d3bfdd8587bbbfbed3e4a80674886f4fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 16 Mar 2008 00:35:24 +0000 Subject: [PATCH] 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 --- src/mac/carbon/settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ); ; -- 2.45.2