]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/settings.cpp
OSX only (a runtime check would be preferable as Kevin mentioned
[wxWidgets.git] / src / mgl / settings.cpp
index 76868a7369355bdec0401de67e25b837be9c1abe..9a6ff7b61228b0f341d9db4bc1de2a50a6e2597c 100644 (file)
@@ -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
     }
 }