31 #include <wx/arrstr.h>
39 const std::vector<std::string> name,
40 const std::vector<std::string> key)
42 -1, wxDefaultPosition,
60 wxStaticText * cp=
new wxStaticText(
this,-1,_T(
" Attribute to change: "), wxPoint(5,10));
62 std::vector<std::string>::const_iterator it;
65 as.Add(crea::std2wx(*it));
69 if(val.compare(
"")==0){val=
"?";}
72 wxStaticText * av=
new wxStaticText(
this,-1,_T(
" Current Value: "), wxPoint(5,40));
73 actualVal=
new wxStaticText(
this,-1,crea::std2wx(val), wxPoint(110,40));
76 wxStaticText * nv=
new wxStaticText(
this,-1,_T(
" New Value: "), wxPoint(5,70));
77 newVal=
new wxTextCtrl(
this, wxID_ANY, crea::std2wx(val), wxPoint(110,70), wxSize(220,20));
79 wxButton *save =
new wxButton(
this,wxID_ANY,_T(
"Save Changes"), wxPoint(5,100) );
94 std::string val=crea::wx2std(
newVal->GetValue());
107 if(val.compare(
"")==0){val=
"?";}
109 newVal->SetValue(crea::std2wx(val));