Added wxPropertyGridInterface::RemoveProperty()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-12-11 17:11:35 +00:00
parent 059979d848
commit f915d44b3f
6 changed files with 71 additions and 4 deletions

View File

@@ -918,6 +918,23 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
pgman->EnsureVisible(wxT("Cell Colour"));
}
{
RT_START_TEST(RemoveProperty)
wxPGProperty* p;
wxPGProperty* origParent =
pgman->GetProperty(wxT("Window Styles"))->GetParent();
p = pgman->RemoveProperty(wxT("Window Styles"));
pgman->Refresh();
pgman->Update();
pgman->AppendIn(origParent, p);
pgman->Refresh();
pgman->Update();
}
{
RT_START_TEST(SetPropertyBackgroundColour)
wxCommandEvent evt;