X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e4841b0ba8ee6e26c7b8b0643f6cfb57b0558a4..f6669958924c3c3833e2932b65598b06073d2e65:/include/wx/treectrl.h diff --git a/include/wx/treectrl.h b/include/wx/treectrl.h index b93495de26..c23920964e 100644 --- a/include/wx/treectrl.h +++ b/include/wx/treectrl.h @@ -349,6 +349,10 @@ public: virtual void EndEditLabel(const wxTreeItemId& item, bool discardChanges = false) = 0; + // Enable or disable beep when incremental match doesn't find any item. + // Only implemented in the generic version currently. + virtual void EnableBellOnNoMatch(bool WXUNUSED(on) = true) { } + // sorting // ------- @@ -439,6 +443,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); }; @@ -448,8 +459,6 @@ protected: #if defined(__WXUNIVERSAL__) #include "wx/generic/treectlg.h" -#elif defined(__WXPALMOS__) - #include "wx/generic/treectlg.h" #elif defined(__WXMSW__) #include "wx/msw/treectrl.h" #elif defined(__WXMOTIF__)