/////////////////////////////////////////////////////////////////////////////
-// Name: valgen.h
+// Name: wx/valgen.h
// Purpose: wxGenericValidator class
// Author: Kevin Smith
// Created: Jan 22 1999
#if wxUSE_VALIDATORS
class WXDLLIMPEXP_FWD_BASE wxDateTime;
+class WXDLLIMPEXP_FWD_BASE wxFileName;
// ----------------------------------------------------------------------------
// wxGenericValidator performs data transfer between many standard controls and
wxGenericValidator(bool* val);
// wxChoice, wxGauge, wxRadioBox, wxScrollBar, wxSlider, wxSpinButton
wxGenericValidator(int* val);
- wxGenericValidator(float* val);
- wxGenericValidator(double* val);
// wxComboBox, wxTextCtrl, wxButton, wxStaticText (read-only)
wxGenericValidator(wxString* val);
// wxListBox, wxCheckListBox
// wxDatePickerCtrl
wxGenericValidator(wxDateTime* val);
#endif // wxUSE_DATETIME
+ // wxTextCtrl
+ wxGenericValidator(wxFileName* val);
+ // wxTextCtrl
+ wxGenericValidator(float* val);
+ // wxTextCtrl
+ wxGenericValidator(double* val);
+
wxGenericValidator(const wxGenericValidator& copyFrom);
virtual ~wxGenericValidator(){}
bool* m_pBool;
int* m_pInt;
- float* m_pFloat;
- double* m_pDouble;
wxString* m_pString;
wxArrayInt* m_pArrayInt;
#if wxUSE_DATETIME
wxDateTime* m_pDateTime;
#endif // wxUSE_DATETIME
+ wxFileName* m_pFileName;
+ float* m_pFloat;
+ double* m_pDouble;
private:
DECLARE_CLASS(wxGenericValidator)