]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/settings.cpp
Use SetMinSize instead of SetSizeHints
[wxWidgets.git] / src / gtk1 / settings.cpp
index 99a09be81e00e29e858364f5b125506c836c4386..44b3433b3fbd245e9c1d964a1961646c46c001de 100644 (file)
@@ -378,8 +378,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index )
         case wxSYS_ICON_X:     return 32;
         case wxSYS_ICON_Y:     return 32;
         default:               
         case wxSYS_ICON_X:     return 32;
         case wxSYS_ICON_Y:     return 32;
         default:               
-            wxFAIL_MSG( wxT("wxSystemSettings::GetMetric not fully implemented") );
-            return 0;
+            return -1;   // metric is unknown
     }
 }
 
     }
 }