Fixed bug: wxPropertyGridInterface::SetPropertyReadOnly() with wxPG_DONT_RECURSE flag didn't do anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1951,8 +1951,22 @@ public:
|
||||
else m_flags &= ~wxPG_PROP_COLLAPSED;
|
||||
}
|
||||
|
||||
/**
|
||||
Sets given property flag(s).
|
||||
*/
|
||||
void SetFlag( FlagType flag ) { m_flags |= flag; }
|
||||
|
||||
/**
|
||||
Sets or clears given property flag(s).
|
||||
*/
|
||||
void ChangeFlag( FlagType flag, bool set )
|
||||
{
|
||||
if ( set )
|
||||
m_flags |= flag;
|
||||
else
|
||||
m_flags &= ~flag;
|
||||
}
|
||||
|
||||
void SetFlagRecursively( FlagType flag, bool set );
|
||||
|
||||
void SetHelpString( const wxString& helpString )
|
||||
|
Reference in New Issue
Block a user