compilation warning fix for the daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -333,7 +333,8 @@ int wxSystemSettingsNative::GetMetric(wxSystemMetric index)
|
||||
// TODO: probably use wxUniv themes functionality
|
||||
return 0;
|
||||
#else // !__WXMICROWIN__
|
||||
wxCHECK_MSG( index < WXSIZEOF(gs_metricsMap), 0, _T("invalid metric") );
|
||||
wxCHECK_MSG( index > 0 && (size_t)index < WXSIZEOF(gs_metricsMap), 0,
|
||||
_T("invalid metric") );
|
||||
|
||||
int indexMSW = gs_metricsMap[index];
|
||||
if ( indexMSW == -1 )
|
||||
|
Reference in New Issue
Block a user