Use dedicated function to change flag

This commit is contained in:
Artur Wieczorek 2018-10-12 22:14:52 +02:00
parent 56fa1e0f56
commit 5fb9d8d244

View File

@ -1792,8 +1792,7 @@ public:
// (i.e. cancel 'true' returned by StringToValue() or IntToValue()).
void SetWasModified( bool set = true )
{
if ( set ) m_flags |= wxPG_PROP_WAS_MODIFIED;
else m_flags &= ~wxPG_PROP_WAS_MODIFIED;
ChangeFlag(wxPG_PROP_WAS_MODIFIED, set);
}
// Returns property's help or description text.