Use correct event type for wxEVT_SPIN

This commit is contained in:
Cătălin Răceanu
2019-02-20 16:06:05 +02:00
parent d4b29b3bcc
commit 0a1846eb9a

View File

@@ -35,7 +35,7 @@ void wxQtSpinButton::valueChanged(int value)
wxSpinButton *handler = GetHandler();
if ( handler )
{
wxCommandEvent event( wxEVT_SPIN, handler->GetId() );
wxSpinEvent event( wxEVT_SPIN, handler->GetId() );
event.SetInt( value );
EmitEvent( event );
}