#include "wx/valgen.h"
+IMPLEMENT_CLASS(wxGenericValidator, wxValidator)
+
wxGenericValidator::wxGenericValidator(bool *val)
{
Initialize();
}
wxGenericValidator::wxGenericValidator(const wxGenericValidator& val)
+ : wxValidator()
{
Copy(val);
}
{
pControl->SetStringSelection(* m_pString);
}
+ else
+ {
+ pControl->SetValue(* m_pString);
+ }
return TRUE;
}
} else