Use dedicated function to change flag
This commit is contained in:
parent
56fa1e0f56
commit
5fb9d8d244
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user