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:
parent
36e2bb4eed
commit
fc29e86ef7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user