X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..dcac15653e29a387633b59479049069f0faf43f9:/src/mgl/settings.cpp diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 76868a7369..9a6ff7b612 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -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 } }