Fixed bug: wxEditEnumProperty's initial string value could not be outside the list of choices.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1637,7 +1637,10 @@ void FormMain::PopulateWithExamples ()
|
||||
eech.Add(wxT("Choice 1"));
|
||||
eech.Add(wxT("Choice 2"));
|
||||
eech.Add(wxT("Choice 3"));
|
||||
pg->Append( new wxEditEnumProperty(wxT("EditEnumProperty"), wxPG_LABEL, eech) ); // , wxT("Choice 2")
|
||||
pg->Append( new wxEditEnumProperty("EditEnumProperty",
|
||||
wxPG_LABEL,
|
||||
eech,
|
||||
"Choice not in the list") );
|
||||
|
||||
//wxString v_;
|
||||
//wxTextValidator validator1(wxFILTER_NUMERIC,&v_);
|
||||
|
Reference in New Issue
Block a user