X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/893758d507abf66a429666b9f0b2c1baa195b398..6433f6d3165a3f8633f42c59694a9104a7b37a93:/src/os2/settings.cpp diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 7983add4ee..6745891e57 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -18,6 +18,7 @@ #include "wx/pen.h" #include "wx/brush.h" #include "wx/gdicmn.h" +#include "wx/module.h" #endif #include "wx/settings.h" @@ -356,3 +357,15 @@ 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; + } + return FALSE; +}