]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
fixed dll import specification of wxGetHInstance()
[wxWidgets.git] / src / msw / settings.cpp
index 32059690a750f519e5ae1314217c99c96c93572b..4e3e760cb19340873dde182d448497c49d5058d8 100644 (file)
@@ -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);