Use wxPGEditor_X instead of wxPGEditor(X), as in new docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -238,7 +238,7 @@ void FormMain::AddTestProperties( wxPropertyGridPage* pg )
|
||||
|
||||
pg->Append( new MyColourProperty3(wxT("CustomColourProperty3"), wxPG_LABEL, *wxGREEN) );
|
||||
pg->GetProperty(wxT("CustomColourProperty3"))->SetFlag(wxPG_PROP_AUTO_UNSPECIFIED);
|
||||
pg->SetPropertyEditor( wxT("CustomColourProperty3"), wxPG_EDITOR(ComboBox) );
|
||||
pg->SetPropertyEditor( wxT("CustomColourProperty3"), wxPGEditor_ComboBox );
|
||||
|
||||
pg->SetPropertyHelpString(wxT("CustomColourProperty3"),
|
||||
wxT("This is a MyColourProperty3 from the sample app. ")
|
||||
|
Reference in New Issue
Block a user