Fix a compil issue on wxWidgets version < 3.1.6

wxSpinCtrl::SetIncrement() exists only in version >= 3.1.6
This commit is contained in:
jean-pierre charras 2022-09-09 20:14:38 +02:00
parent 26e7261b20
commit aeb7447102
1 changed files with 2 additions and 0 deletions

View File

@ -40,7 +40,9 @@ PANEL_EESCHEMA_EDITING_OPTIONS::PANEL_EESCHEMA_EDITING_OPTIONS( wxWindow* aWindo
m_backgroundColorSwatch->SetDefaultColor( COLOR4D::UNSPECIFIED );
m_spinLabelRepeatStep->SetRange( -100000, 100000 );
#if wxCHECK_VERSION( 3, 1, 6 )
m_spinLabelRepeatStep->SetIncrement( 1 );
#endif
#ifdef __WXOSX_MAC__
m_leftClickCmdsBook->SetSelection( 1 );