X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e4841b0ba8ee6e26c7b8b0643f6cfb57b0558a4..fceac6bbfe23180d460ef62dac83c591d9e0f941:/include/wx/treectrl.h?ds=sidebyside diff --git a/include/wx/treectrl.h b/include/wx/treectrl.h index b93495de26..b07eccb344 100644 --- a/include/wx/treectrl.h +++ b/include/wx/treectrl.h @@ -439,6 +439,13 @@ protected: bool m_quickBestSize; +private: + // Intercept Escape and Return keys to ensure that our in-place edit + // control always gets them before they're used for dialog navigation or + // anything else. + void OnCharHook(wxKeyEvent& event); + + wxDECLARE_NO_COPY_CLASS(wxTreeCtrlBase); };