From 6b34f39f460cbaf02e575f3c389e0e8387c5e542 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Tue, 6 Oct 2015 11:32:01 +0200 Subject: [PATCH] Choose lighter color for wxOSX/Cocoa wxSYS_COLOUR_INFOBK. [NSColor windowFrameColor] from commit 515fcc66e64a8fbd241f023a2932e0451560240e was way to dark [NSColor windowBackgroundColor] gives a much better contrast with the text. --- src/osx/cocoa/settings.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/settings.mm b/src/osx/cocoa/settings.mm index eac99444c7..2be681b19e 100644 --- a/src/osx/cocoa/settings.mm +++ b/src/osx/cocoa/settings.mm @@ -92,7 +92,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index) break; case wxSYS_COLOUR_INFOBK: // tooltip (bogus) - sysColor = [NSColor windowFrameColor]; + sysColor = [NSColor windowBackgroundColor]; break; case wxSYS_COLOUR_APPWORKSPACE: // MDI window color (bogus)