Added wxPGProperty::Enable() for conveniency. Refactored related code and improved related documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -277,7 +277,7 @@ bool wxPropertyGridInterface::EnableProperty( wxPGPropArg id, bool enable )
|
||||
grid->DoSelectProperty( p, wxPG_SEL_FORCE );
|
||||
}
|
||||
|
||||
state->DoEnableProperty(p, enable);
|
||||
p->DoEnable(enable);
|
||||
|
||||
RefreshProperty( p );
|
||||
|
||||
|
Reference in New Issue
Block a user