Fixing NSColor value for wxSYS_COLOUR_WINDOW

controlBackgroundColor should be used as a background for large controls like lists etc. this corresponds to the usage of wxSYS_COLOUR_WINDOW, thanks to dkulp
This commit is contained in:
Stefan Csomor
2018-06-12 23:14:44 +02:00
parent cd02c548f4
commit 2acda98337

View File

@@ -74,7 +74,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
sysColor = [NSColor windowFrameColor];
break;
case wxSYS_COLOUR_WINDOW:
sysColor = [NSColor windowBackgroundColor];
sysColor = [NSColor controlBackgroundColor];
break;
case wxSYS_COLOUR_BTNFACE:
if ( wxPlatformInfo::Get().CheckOSVersion(10, 14 ) )