diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 0bd991cabc..0d1ff356e6 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -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;