X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..b5fe7ca67bf3121959a0b5a59afd00c1708f2f03:/interface/wx/valgen.h

diff --git a/interface/wx/valgen.h b/interface/wx/valgen.h
index ee59b3084c..c2dd472fa4 100644
--- a/interface/wx/valgen.h
+++ b/interface/wx/valgen.h
@@ -10,13 +10,17 @@
     @class wxGenericValidator
 
     wxGenericValidator performs data transfer (but not validation or filtering)
-    for the following basic controls: wxButton, wxCheckBox, wxListBox,
-    wxStaticText, wxRadioButton, wxRadioBox, wxChoice, wxComboBox, wxGauge,
-    wxSlider, wxScrollBar, wxSpinButton, wxTextCtrl, wxCheckListBox.
+    for many type of controls.
 
-    It checks the type of the window and uses an appropriate type for that
-    window. For example, wxButton and wxTextCtrl transfer data to and from a
-    wxString variable; wxListBox uses a wxArrayInt; wxCheckBox uses a bool.
+    wxGenericValidator supports:
+    - wxButton, wxRadioButton, wxToggleButton, wxBitmapToggleButton, wxSpinButton
+    - wxCheckBox, wxRadioBox, wxComboBox, wxListBox, wxCheckListBox
+    - wxGauge, wxSlider, wxScrollBar, wxChoice, wxStaticText
+    - wxSpinCtrl, wxTextCtrl
+
+    It checks the type of the window and uses an appropriate type for it.
+    For example, wxButton and wxTextCtrl transfer data to and from a
+    wxString variable; wxListBox uses a wxArrayInt; wxCheckBox uses a boolean.
 
     For more information, please see @ref overview_validator.
 
@@ -100,7 +104,7 @@ public:
     /**
         Clones the generic validator using the copy constructor.
     */
-    virtual wxValidator* Clone() const;
+    virtual wxObject* Clone() const;
 
     /**
         Transfers the value from the window to the appropriate data type.