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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user