X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a12f464799df80eae2cf86cfbc0f702e976fbd4c..cd05bf23f6aec29f60a793f3ca4dfe336661fca1:/src/os2/settings.cpp diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 6d29e973e8..f828647041 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: settings.cpp +// Name: src/os2/settings.cpp // Purpose: wxSettings // Author: David Webster // Modified by: @@ -13,16 +13,15 @@ #include "wx/wxprec.h" #ifndef WX_PRECOMP -#include -#include "wx/defs.h" -#include "wx/pen.h" -#include "wx/brush.h" -#include "wx/gdicmn.h" + #include + #include "wx/pen.h" + #include "wx/brush.h" + #include "wx/gdicmn.h" + #include "wx/window.h" + #include "wx/settings.h" #endif #include "wx/module.h" -#include "wx/settings.h" -#include "wx/window.h" #include "wx/os2/private.h" // the module which is used to clean up wxSystemSettings data (this is a @@ -62,7 +61,7 @@ wxArrayString wxSystemSettingsModule::sm_optionValues; bool wxSystemSettingsModule::OnInit() { - return TRUE; + return true; } void wxSystemSettingsModule::OnExit() @@ -287,6 +286,9 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, // TODO case wxSYS_PENWINDOWS_PRESENT: // TODO case wxSYS_SHOW_SOUNDS: // TODO case wxSYS_SWAP_BUTTONS: + + default: + break; } return -1; // unsupported metric } @@ -298,8 +300,11 @@ bool wxSystemSettingsNative::HasFeature( wxSystemFeature index ) case wxSYS_CAN_ICONIZE_FRAME: return true; - case wxSYS_CAN_DRAW_FRAME_DECORATIONS: - return false; + // TODO case wxSYS_CAN_DRAW_FRAME_DECORATIONS: + // TODO case wxSYS_TABLET_PRESENT: + + default: + break; } return false;