X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dc9904630c28707c828328e997ec46639aca757..448dd031e361dfc127046ce5713fa85eadcd08c3:/include/wx/generic/treectrl.h diff --git a/include/wx/generic/treectrl.h b/include/wx/generic/treectrl.h index 00c139de9b..4be159ae58 100644 --- a/include/wx/generic/treectrl.h +++ b/include/wx/generic/treectrl.h @@ -181,7 +181,9 @@ class WXDLLEXPORT wxTreeTextCtrl: public wxTextCtrl bool *accept, wxString *res, wxTreeCtrl *owner, const wxString &value = wxEmptyString, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, +#if wxUSE_VALIDATORS int style = 0, const wxValidator& validator = wxDefaultValidator, +#endif const wxString &name = wxTextCtrlNameStr ); void OnChar( wxKeyEvent &event ); void OnKillFocus( wxFocusEvent &event ); @@ -204,7 +206,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, +#if wxUSE_VALIDATORS const wxValidator &validator = wxDefaultValidator, +#endif const wxString& name = wxTreeCtrlNameStr) { Create(parent, id, pos, size, style, validator, name); @@ -216,7 +220,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT, +#if wxUSE_VALIDATORS const wxValidator &validator = wxDefaultValidator, +#endif const wxString& name = wxTreeCtrlNameStr); // accessors @@ -461,6 +467,9 @@ protected: friend class wxTreeRenameTimer; friend class wxTreeTextCtrl; + wxFont m_normalFont; + wxFont m_boldFont; + wxGenericTreeItem *m_anchor; wxGenericTreeItem *m_current, *m_key_current, *m_currentEdit; bool m_hasFocus;