add wxDatePickerCtrl support in wxGenericValidator (patch 1870174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
|
||||
class WXDLLIMPEXP_FWD_BASE wxDateTime;
|
||||
|
||||
class WXDLLEXPORT wxGenericValidator: public wxValidator
|
||||
{
|
||||
DECLARE_CLASS(wxGenericValidator)
|
||||
@@ -24,6 +26,9 @@ public:
|
||||
wxGenericValidator(int* val);
|
||||
wxGenericValidator(wxString* val);
|
||||
wxGenericValidator(wxArrayInt* val);
|
||||
#if wxUSE_DATETIME
|
||||
wxGenericValidator(wxDateTime* val);
|
||||
#endif // wxUSE_DATETIME
|
||||
wxGenericValidator(const wxGenericValidator& copyFrom);
|
||||
|
||||
virtual ~wxGenericValidator(){}
|
||||
@@ -52,6 +57,9 @@ protected:
|
||||
int* m_pInt;
|
||||
wxString* m_pString;
|
||||
wxArrayInt* m_pArrayInt;
|
||||
#if wxUSE_DATETIME
|
||||
wxDateTime* m_pDateTime;
|
||||
#endif // wxUSE_DATETIME
|
||||
|
||||
private:
|
||||
// Cannot use
|
||||
|
Reference in New Issue
Block a user