X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/019a60d62560638a65bb575e7e30938c7e667450..00c813596e3eefdd028365acf9542355937e5531:/src/mac/carbon/settings.cpp diff --git a/src/mac/carbon/settings.cpp b/src/mac/carbon/settings.cpp index 2d72222ab8..dcfe365753 100644 --- a/src/mac/carbon/settings.cpp +++ b/src/mac/carbon/settings.cpp @@ -14,6 +14,7 @@ #endif #include "wx/settings.h" +#include "wx/gdicmn.h" wxColour wxSystemSettings::GetSystemColour(int index) { @@ -32,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 ; @@ -74,7 +78,6 @@ wxColour wxSystemSettings::GetSystemColour(int index) break ; case wxSYS_COLOUR_INFOBK : case wxSYS_COLOUR_APPWORKSPACE: - case wxSYS_COLOUR_LISTBOX: return *wxWHITE ; 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; + } +}