Bugs item #2342061, was opened at 2008-11-25 08:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2342061&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: treelistctrl
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ronan Chartois (pgriddev)
Assigned to: Ronan Chartois (pgriddev)
Summary: editing applied to wrong column

Initial Comment:
After editing a label, I kill the focus of the edit control by clicking
outside. If the click happens to land on one of the other tree-list columns,
then that column gets updated with the new text, not the main column.

Since I only need to edit the main column, I changed this line (in
wxTreeListMainWindow::OnRenameAccept)

SetItemText (m_editItem, m_curColumn, m_renameRes);

to

SetItemText (m_editItem, 0, m_renameRes);

but this is not suitable when you need other columns, too. (I didn't investigate
this one.)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2342061&group_id=51305

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to