]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
Crash fix under VC++
[wxWidgets.git] / src / gtk1 / settings.cpp
index 3b4312a29c2e20d7fd04afa85d98df0429ab1e15..44b3433b3fbd245e9c1d964a1961646c46c001de 100644 (file)
@@ -378,7 +378,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index )
         case wxSYS_ICON_X:     return 32;
         case wxSYS_ICON_Y:     return 32;
         default:               
-            return 0;   // metric is unknown
+            return -1;   // metric is unknown
     }
 }