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
This commit is contained in:
Václav Slavík
2008-03-16 00:35:24 +00:00
parent 3e1924dd5f
commit bea6ba2d3b

View File

@@ -109,7 +109,9 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
break ; break ;
case wxSYS_COLOUR_INFOBK : 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 ; break ;
case wxSYS_COLOUR_APPWORKSPACE: case wxSYS_COLOUR_APPWORKSPACE:
resultColor = wxColor( 0x80, 0x80, 0x80 ); ; resultColor = wxColor( 0x80, 0x80, 0x80 ); ;