]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
TIFF code 1.
[wxWidgets.git] / include / wx / generic / treectrl.h
index 9e8bf4ed5cc559275c30fcbc2171b5de618e409f..4be159ae58642f6dd1385875ddcbe8db63326631 100644 (file)
@@ -182,11 +182,7 @@ class WXDLLEXPORT wxTreeTextCtrl: public wxTextCtrl
                     const wxString &value = wxEmptyString,
                     const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-                    int style = 0, const wxValidator* validator = wxDefaultValidator,
-#  else
                     int style = 0, const wxValidator& validator = wxDefaultValidator,
-#  endif
 #endif
                     const wxString &name = wxTextCtrlNameStr );
     void OnChar( wxKeyEvent &event );
@@ -211,11 +207,7 @@ public:
                const wxSize& size = wxDefaultSize,
                long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-               const wxValidator *validator = wxDefaultValidator,
-#  else
                const wxValidator &validator = wxDefaultValidator,
-#  endif
 #endif
                const wxString& name = wxTreeCtrlNameStr)
     {
@@ -229,11 +221,7 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,
 #if wxUSE_VALIDATORS
-#  if defined(__VISAGECPP__)
-                const wxValidator *validator = wxDefaultValidator,
-#  else
                 const wxValidator &validator = wxDefaultValidator,
-#  endif
 #endif
                 const wxString& name = wxTreeCtrlNameStr);