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:
@@ -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 ) )
|
||||
|
Reference in New Issue
Block a user