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

Since wxEvent::GetEventType() returns wxEventType value, the variable used to hold returned value should be also of this type.
This commit is contained in:
Artur Wieczorek
2015-07-06 20:43:28 +02:00
parent 6f3003c3e1
commit b2af64faaf

View File

@@ -1199,7 +1199,7 @@ bool wxPropertyGridManager::RemovePage( int page )
bool wxPropertyGridManager::ProcessEvent( wxEvent& event )
{
int evtType = event.GetEventType();
const wxEventType evtType = event.GetEventType();
// NB: For some reason, under wxPython, Connect in Init doesn't work properly,
// so we'll need to call OnPropertyGridSelect manually. Multiple calls