Search found 3 matches

by sackett
Fri Mar 15, 2019 12:12 pm
Forum: C++ Development
Topic: wxTreeCtrl item label changing
Replies: 4
Views: 90

Re: wxTreeCtrl item label changing

Now it seems so obvious. Thanks! :)
by sackett
Fri Mar 15, 2019 11:45 am
Forum: C++ Development
Topic: wxTreeCtrl item label changing
Replies: 4
Views: 90

Re: wxTreeCtrl item label changing

Thank you!
I've read info from your link but no idea how to use it. :(
(How I get the object and how I get a string needed?)
by sackett
Fri Mar 15, 2019 11:19 am
Forum: C++ Development
Topic: wxTreeCtrl item label changing
Replies: 4
Views: 90

wxTreeCtrl item label changing

Hello everybody! I'am trying to save new item label after editing: void myclass::onTreeEndLabelEdit(wxTreeEvent& event) { wxTreeItemId id = event.GetItem(); wxString str; //here I want to store new label but getting the old one. str = m_treeCtrl1->GetItemText(id); } Please, help.