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:
Jaakko Salli
2009-05-02 07:41:21 +00:00
parent c5c1ea9648
commit d58526d554
3 changed files with 16 additions and 5 deletions

View File

@@ -1021,7 +1021,7 @@ public:
if ( flags & wxPG_RECURSE )
p->SetFlagRecursively(wxPG_PROP_READONLY, set);
else
p->SetFlag(wxPG_PROP_READONLY);
p->ChangeFlag(wxPG_PROP_READONLY, set);
}
/** Sets property's value to unspecified.