]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
TIFF code 1.
[wxWidgets.git] / include / wx / generic / treectrl.h
index 00c139de9b6524ed36ca450f7a420e8fe026dd08..4be159ae58642f6dd1385875ddcbe8db63326631 100644 (file)
@@ -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;