From 725a35f6a0e80202458b7fbe2cc92c7a1cab725a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 16 Mar 2008 00:35:34 +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/branches/WX_2_8_BRANCH@52560 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 4df74a6dd8..9b9407cff7 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -118,7 +118,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 ); ;