dd23c25cde
Benjamin I. Williams Currently there is no way of receiving notification that a user cancelled an edit operation on a wxTreeCtrl tree node label. This patch adds a method "IsEditCancelled" to the wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT event, the programmer can now determine whether or not the edit operation was cancelled by the user (by pressing <ESC>). This patch provides this implementation for both wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both situations have been tested and work well. The patch is not very invasive, and is much smaller than I had expected. Please see the relevent discussion on the wx-dev list for more details. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
||
---|---|---|
.. | ||
wx | ||
.cvsignore | ||
wx_cw_d.pch | ||
wx_cw_d.pch++ | ||
wx_cw.pch | ||
wx_cw.pch++ | ||
wx_cwc_d.pch | ||
wx_cwc_d.pch++ | ||
wx_cwc.pch | ||
wx_cwc.pch++ | ||
wx_cwu_d.pch | ||
wx_cwu_d.pch++ | ||
wx_pb.h | ||
wxshlb_cw_d.pch | ||
wxshlb_cw_d.pch++ | ||
wxshlb_cw.pch | ||
wxshlb_cw.pch++ | ||
wxshlb_cwc_d.pch | ||
wxshlb_cwc_d.pch++ | ||
wxshlb_cwc.pch | ||
wxshlb_cwc.pch++ | ||
wxshlba_cw_d.pch | ||
wxshlba_cw_d.pch++ | ||
wxshlba_cw.pch | ||
wxshlba_cw.pch++ | ||
wxshlba_cwc_d.pch | ||
wxshlba_cwc_d.pch++ | ||
wxshlba_cwc.pch | ||
wxshlba_cwc.pch++ |