X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/893758d507abf66a429666b9f0b2c1baa195b398..a385b5dfa89e3ff69e4317531b06086c4e426e2b:/src/os2/settings.cpp?ds=sidebyside 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; +}