]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/treectrl.h
Remove wxRTTI macro for wxComboBox from Motif port.
[wxWidgets.git] / include / wx / treectrl.h
index b93495de26b9cb1455c25ca419cf94de398a71bf..c23920964e063795d1e2b2cf3a698fad1ee9a868 100644 (file)
@@ -349,6 +349,10 @@ public:
     virtual void EndEditLabel(const wxTreeItemId& item,
                               bool discardChanges = false) = 0;
 
     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
     // -------
 
     // sorting
     // -------
 
@@ -439,6 +443,13 @@ protected:
     bool        m_quickBestSize;
 
 
     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);
 };
 
     wxDECLARE_NO_COPY_CLASS(wxTreeCtrlBase);
 };
 
@@ -448,8 +459,6 @@ protected:
 
 #if defined(__WXUNIVERSAL__)
     #include "wx/generic/treectlg.h"
 
 #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__)
 #elif defined(__WXMSW__)
     #include "wx/msw/treectrl.h"
 #elif defined(__WXMOTIF__)