]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/settings.cpp
Use wxGetTranslation() instead of _() in the public headers.
[wxWidgets.git] / src / dfb / settings.cpp
index 308e9249386dcc8dc157215afd0789fa4715958a..b97895baf5f2ae6fd952825dbff9214c9cafed28 100644 (file)
@@ -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
 /////////////////////////////////////////////////////////////////////////////
     #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;
     }
 }