diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index 9096bc7f57..a75f3668d4 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -374,6 +374,10 @@ public: long GetCacheFrom(); long GetCacheTo(); + + // was label editing canceled? (for wxEVT_COMMAND_LIST_END_LABEL_EDIT only) + bool IsEditCancelled() const { return m_editCancelled; } + void SetEditCanceled(bool editCancelled) { m_editCancelled = editCancelled; } };