Use dedicated function to change flag
This commit is contained in:
@@ -1792,8 +1792,7 @@ public:
|
|||||||
// (i.e. cancel 'true' returned by StringToValue() or IntToValue()).
|
// (i.e. cancel 'true' returned by StringToValue() or IntToValue()).
|
||||||
void SetWasModified( bool set = true )
|
void SetWasModified( bool set = true )
|
||||||
{
|
{
|
||||||
if ( set ) m_flags |= wxPG_PROP_WAS_MODIFIED;
|
ChangeFlag(wxPG_PROP_WAS_MODIFIED, set);
|
||||||
else m_flags &= ~wxPG_PROP_WAS_MODIFIED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns property's help or description text.
|
// Returns property's help or description text.
|
||||||
|
Reference in New Issue
Block a user