X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..fa1c12bdd76acc21ddb45b90bb53b2f58aed946d:/src/mac/settings.cpp diff --git a/src/mac/settings.cpp b/src/mac/settings.cpp index fc3943c02b..dcfe365753 100644 --- a/src/mac/settings.cpp +++ b/src/mac/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; + } +}