X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..0f092804a2406ada66094d09bfc935d63e221d46:/src/mac/carbon/settings.cpp diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index fc3943c02b..dcfe365753 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -33,6 +33,9 @@ wxColour wxSystemSettings::GetSystemColour(int index) return wxColor( 0xDD , 0xDD , 0xDD ) ; break ; + case wxSYS_COLOUR_LISTBOX : + return wxColor( 0xEE , 0xEE , 0xEE ) ; + break ; case wxSYS_COLOUR_BTNSHADOW: return wxColor( 0x44 , 0x44 , 0x44 ) ; break ; @@ -217,3 +220,14 @@ int wxSystemSettings::GetSystemMetric(int index) return 0; } +bool wxSystemSettings::GetCapability(int index) +{ + switch (index) + { + case wxSYS_CAN_ICONIZE_FRAME: + case wxSYS_CAN_DRAW_FRAME_DECORATIONS: + return TRUE; break; + default: + return FALSE; + } +}