Fixed gs_metricsMap so the constants line up correctly, there was an

off-by-one since the wx enum starts at 1 instead of 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-01-05 22:48:25 +00:00
parent 36e2bb4eed
commit fc29e86ef7

View File

@ -174,6 +174,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
// unknown
static const int gs_metricsMap[] =
{
-1, // wxSystemMetric enums start at 1, so give a dummy value for pos 0.
#ifdef __WIN32__
SM_CMOUSEBUTTONS,
#else