Just return zero without failing for unknown metrics, like the other

ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-09-29 16:49:01 +00:00
parent 3bc06221f0
commit c4dc4cdd5a
2 changed files with 2 additions and 4 deletions

View File

@@ -378,8 +378,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index )
case wxSYS_ICON_X: return 32;
case wxSYS_ICON_Y: return 32;
default:
wxFAIL_MSG( wxT("wxSystemSettings::GetMetric not fully implemented") );
return 0;
return 0; // metric is unknown
}
}

View File

@@ -378,8 +378,7 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index )
case wxSYS_ICON_X: return 32;
case wxSYS_ICON_Y: return 32;
default:
wxFAIL_MSG( wxT("wxSystemSettings::GetMetric not fully implemented") );
return 0;
return 0; // metric is unknown
}
}