]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
Minor compilo fix
[wxWidgets.git] / src / mgl / settings.cpp
index 76868a7369355bdec0401de67e25b837be9c1abe..24132c37275e972b28e2ec1aba2e8d42681a3243 100644 (file)
@@ -78,7 +78,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
     }
 }
 
     }
 }
 
-int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
+int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(win))
 {
     int val;
     
 {
     int val;
     
@@ -95,8 +95,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
             return 15; 
             break;
         default:
             return 15; 
             break;
         default:
-            wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetMetric not fully implemented"));
-            return 0;
+            return -1;  // unsupported metric
     }
 }
 
     }
 }