Update composite wxStringProperty labels and values in propgrid sample.
Set some strings and labels to the more current values.
This commit is contained in:
parent
d00c184ec8
commit
3e62d33935
@ -1562,20 +1562,20 @@ void FormMain::PopulateWithExamples ()
|
|||||||
|
|
||||||
pid->AppendChild( new wxStringProperty(wxT("Latest Release"),
|
pid->AppendChild( new wxStringProperty(wxT("Latest Release"),
|
||||||
wxPG_LABEL,
|
wxPG_LABEL,
|
||||||
wxT("2.8.10")));
|
wxT("3.0.2")));
|
||||||
pid->AppendChild( new wxBoolProperty(wxT("Win API"),
|
pid->AppendChild( new wxBoolProperty(wxT("Win API"),
|
||||||
wxPG_LABEL,
|
wxPG_LABEL,
|
||||||
true) );
|
true) );
|
||||||
|
|
||||||
pg->Append( pid );
|
pg->Append( pid );
|
||||||
|
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("QT"), wxPG_LABEL, false) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("QT"), wxPG_LABEL, true) );
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("Cocoa"), wxPG_LABEL, true) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("Cocoa"), wxPG_LABEL, true) );
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("BeOS"), wxPG_LABEL, false) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("BeOS"), wxPG_LABEL, false) );
|
||||||
pg->AppendIn(pid, new wxStringProperty(wxT("SVN Trunk Version"), wxPG_LABEL, wxT("2.9.0")) );
|
pg->AppendIn(pid, new wxStringProperty(wxT("Trunk Version"), wxPG_LABEL, wxT("3.1.0")) );
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("GTK+"), wxPG_LABEL, true) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("GTK+"), wxPG_LABEL, true) );
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("Sky OS"), wxPG_LABEL, false) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("Sky OS"), wxPG_LABEL, false) );
|
||||||
pg->AppendIn(pid, new wxBoolProperty(wxT("QT"), wxPG_LABEL, false) );
|
pg->AppendIn(pid, new wxBoolProperty(wxT("Android"), wxPG_LABEL, false) );
|
||||||
|
|
||||||
AddTestProperties(pg);
|
AddTestProperties(pg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user