X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..3c203a185145a1aa720faf53e7f6fbebb35bce7a:/src/mgl/settings.cpp diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 76868a7369..24132c3727 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -78,7 +78,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) } } -int wxSystemSettingsNative::GetMetric(wxSystemMetric index) +int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(win)) { int val; @@ -95,8 +95,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) return 15; break; default: - wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetMetric not fully implemented")); - return 0; + return -1; // unsupported metric } }