X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/src/dfb/settings.cpp?ds=sidebyside diff --git a/src/dfb/settings.cpp b/src/dfb/settings.cpp index 308e924938..b97895baf5 100644 --- a/src/dfb/settings.cpp +++ b/src/dfb/settings.cpp @@ -3,7 +3,6 @@ // Purpose: wxSystemSettings implementation // Author: Vaclav Slavik // Created: 2006-08-08 -// RCS-ID: $Id$ // Copyright: (c) 2006 REA Elektronik GmbH // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -23,12 +22,10 @@ #include "wx/gdicmn.h" #endif -#include "wx/dfb/private.h" - wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index)) { - // not implemented, the mean is in wxUniversal + // overridden by wxSystemSettings::GetColour in wxUniversal return wxColour(0,0,0); } @@ -60,7 +57,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) } default: - wxFAIL_MSG( _T("unknown font type") ); + wxFAIL_MSG( "unknown font type" ); return wxNullFont; } } @@ -79,15 +76,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxDisplaySize(NULL, &val); return val; -#warning "FIXME this" -#if 0 - case wxSYS_VSCROLL_X: - case wxSYS_HSCROLL_Y: - return 15; -#endif - default: - wxFAIL_MSG( _T("unsupported metric") ); return -1; } } @@ -102,7 +91,7 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) return false; default: - wxFAIL_MSG( _T("unknown feature") ); + wxFAIL_MSG( "unknown feature" ); return false; } }