]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/settings.cpp
Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
[wxWidgets.git] / src / dfb / settings.cpp
index 2f4752a24767b8d18f52d5f1cdb390cd8f467353..1fcc8a371d4c502eef61be1079efad926d7b7f67 100644 (file)
@@ -23,8 +23,6 @@
     #include "wx/gdicmn.h"
 #endif
 
-#include "wx/dfb/private.h"
-
 
 wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index))
 {
@@ -60,7 +58,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
         }
 
         default:
-            wxFAIL_MSG( _T("unknown font type") );
+            wxFAIL_MSG( "unknown font type" );
             return wxNullFont;
     }
 }
@@ -79,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;
     }
 }
@@ -102,7 +92,7 @@ bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
             return false;
 
         default:
-            wxFAIL_MSG( _T("unknown feature") );
+            wxFAIL_MSG( "unknown feature" );
             return false;
     }
 }