Use dedicated function to check wxPGProperty flag

This commit is contained in:
Artur Wieczorek
2018-10-12 22:32:07 +02:00
parent fe924be261
commit b894ea1ce3

View File

@@ -3677,7 +3677,7 @@ bool wxPropertyGrid::HandleCustomEditorEvent( wxEvent &event )
// SetValueInEvent(), as called in one of the functions referred above
// overrides editor's value.
if ( m_iFlags & wxPG_FL_VALUE_CHANGE_IN_EVENT )
if ( WasValueChangedInEvent() )
{
valueIsPending = true;
pendingValue = m_changeInEventValue;