X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57f4f9255e3d70e219e6eabd68c3990c0f471f81..9de05dfd08c947376321abede3b222c54280758b:/src/msw/settings.cpp diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 32059690a7..4e3e760cb1 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -390,7 +390,7 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index) if ( indexMSW == -1 ) { // not supported under current system - return 0; + return -1; } int rc = ::GetSystemMetrics(indexMSW);