X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52f2299cdd0b530180aec87baeacb6e2f4927849..5ec18516f68f0fd34dff798b1ad7f63479adb714:/interface/wx/valgen.h?ds=inline diff --git a/interface/wx/valgen.h b/interface/wx/valgen.h index c2dd472fa4..2a5f025d77 100644 --- a/interface/wx/valgen.h +++ b/interface/wx/valgen.h @@ -3,7 +3,7 @@ // Purpose: interface of wxGenericValidator // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -27,7 +27,8 @@ @library{wxcore} @category{validator} - @see @ref overview_validator, wxValidator, wxTextValidator + @see @ref overview_validator, wxValidator, wxTextValidator, + wxIntegerValidator, wxFloatingPointValidator */ class wxGenericValidator : public wxValidator { @@ -95,6 +96,42 @@ public: window). */ wxGenericValidator(wxDateTime* valPtr); + /** + Constructor taking a wxFileName pointer. This will be used for + wxTextCtrl. + + @param valPtr + A pointer to a variable that contains the value. This variable + should have a lifetime equal to or longer than the validator + lifetime (which is usually determined by the lifetime of the + window). + @since 2.9.3 + */ + wxGenericValidator(wxFileName* valPtr); + /** + Constructor taking a float pointer. This will be used for + wxTextCtrl. + + @param valPtr + A pointer to a variable that contains the value. This variable + should have a lifetime equal to or longer than the validator + lifetime (which is usually determined by the lifetime of the + window). + @since 2.9.3 + */ + wxGenericValidator(float* valPtr); + /** + Constructor taking a double pointer. This will be used for + wxTextCtrl. + + @param valPtr + A pointer to a variable that contains the value. This variable + should have a lifetime equal to or longer than the validator + lifetime (which is usually determined by the lifetime of the + window). + @since 2.9.3 + */ + wxGenericValidator(double* valPtr); /** Destructor.