X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48a1108eb87970373e1b1d5debeeaedd8d1916ea..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/src/mgl/settings.cpp diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index c051f96414..93224a6c29 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -18,11 +18,10 @@ #ifndef WX_PRECOMP #include "wx/colour.h" #include "wx/font.h" + #include "wx/gdicmn.h" + #include "wx/module.h" #endif -#include "wx/gdicmn.h" -#include "wx/module.h" - // ---------------------------------------------------------------------------- // global data // ---------------------------------------------------------------------------- @@ -49,7 +48,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule) wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index)) { - // not implemented, the mean is in wxUniversal + // overridden by wxSystemSettings::GetColour in wxUniversal return wxColour(0,0,0); } @@ -108,12 +107,12 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) switch (index) { case wxSYS_CAN_ICONIZE_FRAME: - return false; case wxSYS_CAN_DRAW_FRAME_DECORATIONS: + case wxSYS_TABLET_PRESENT: return false; + default: - { - } + wxFAIL_MSG( _T("unknown feature") ); } return false;