+//-----------------------------------------------------------------------------
+// wxTreeRenameTimer (internal)
+//-----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxTreeRenameTimer: public wxTimer
+{
+ private:
+ wxTreeCtrl *m_owner;
+
+ public:
+ wxTreeRenameTimer( wxTreeCtrl *owner );
+ void Notify();
+};
+
+//-----------------------------------------------------------------------------
+// wxTreeTextCtrl (internal)
+//-----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxTreeTextCtrl: public wxTextCtrl
+{
+ DECLARE_DYNAMIC_CLASS(wxTreeTextCtrl);
+
+ private:
+ bool *m_accept;
+ wxString *m_res;
+ wxTreeCtrl *m_owner;
+ wxString m_startValue;
+
+ public:
+ wxTreeTextCtrl(void) {};
+ wxTreeTextCtrl( wxWindow *parent, const wxWindowID id,
+ bool *accept, wxString *res, wxTreeCtrl *owner,
+ const wxString &value = wxEmptyString,
+ const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
+ int style = 0, const wxValidator& validator = wxDefaultValidator,
+ const wxString &name = wxTextCtrlNameStr );
+ void OnChar( wxKeyEvent &event );
+ void OnKillFocus( wxFocusEvent &event );
+
+ DECLARE_EVENT_TABLE()
+};
+