]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/settings.cpp
using proper cmd constant
[wxWidgets.git] / src / dfb / settings.cpp
index 8cd14600baf9f0af668b6e3ea25920427916966e..1fcc8a371d4c502eef61be1079efad926d7b7f67 100644 (file)
@@ -58,7 +58,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
         }
 
         default:
-            wxFAIL_MSG( _T("unknown font type") );
+            wxFAIL_MSG( "unknown font type" );
             return wxNullFont;
     }
 }
@@ -77,15 +77,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;
     }
 }
@@ -100,7 +92,7 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
             return false;
 
         default:
-            wxFAIL_MSG( _T("unknown feature") );
+            wxFAIL_MSG( "unknown feature" );
             return false;
     }
 }