Use variable of type wxEventType to store the value returned by GetEventType function.

Since wxEvent::GetEventType() returns wxEventType value the variable used to hold returned value should be also of the same type.
This commit is contained in:
Artur Wieczorek
2015-05-26 21:13:13 +02:00
parent 7e14b6e61f
commit a6bdfa7fd0
3 changed files with 3 additions and 3 deletions

View File

@@ -290,7 +290,7 @@ wxPGWindowList wxPGSpinCtrlEditor::CreateControls( wxPropertyGrid* propgrid, wxP
bool wxPGSpinCtrlEditor::OnEvent( wxPropertyGrid* propgrid, wxPGProperty* property,
wxWindow* wnd, wxEvent& event ) const
{
int evtType = event.GetEventType();
wxEventType evtType = event.GetEventType();
int keycode = -1;
int spins = 1;
bool bigStep = false;