]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectrl.cpp
OS/2 PM Fixeups for fonts, validators, and html
[wxWidgets.git] / src / generic / treectrl.cpp
index 386ce6a72b6dea5efc5325c1ffa698f16253357e..98d1ab42ea11bea5c13dbc658272d2dfd35bb5f4 100644 (file)
@@ -196,7 +196,13 @@ END_EVENT_TABLE()
 wxTreeTextCtrl::wxTreeTextCtrl( wxWindow *parent, const wxWindowID id,
     bool *accept, wxString *res, wxTreeCtrl *owner,
     const wxString &value, const wxPoint &pos, const wxSize &size,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+    int style, const wxValidator* validator, const wxString &name ) :
+#  else
     int style, const wxValidator& validator, const wxString &name ) :
+#  endif
+#endif
   wxTextCtrl( parent, id, value, pos, size, style, validator, name )
 {
     m_res = res;
@@ -522,7 +528,13 @@ void wxTreeCtrl::Init()
 bool wxTreeCtrl::Create(wxWindow *parent, wxWindowID id,
                         const wxPoint& pos, const wxSize& size,
                         long style,
+#if wxUSE_VALIDATORS
+#  if defined(__VISAGECPP__)
+            const wxValidator *validator,
+#  else
             const wxValidator &validator,
+#  endif
+#endif
             const wxString& name )
 {
   Init();