build fix for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,7 +76,9 @@ public:
|
||||
|
||||
// parameters string format is "max_width"
|
||||
virtual void SetParameters(const wxString& params) wxOVERRIDE;
|
||||
#if wxUSE_VALIDATORS
|
||||
virtual void SetValidator(const wxValidator& validator);
|
||||
#endif
|
||||
|
||||
virtual wxGridCellEditor *Clone() const wxOVERRIDE;
|
||||
|
||||
@@ -94,7 +96,9 @@ protected:
|
||||
|
||||
private:
|
||||
size_t m_maxChars; // max number of chars allowed
|
||||
#if wxUSE_VALIDATORS
|
||||
wxScopedPtr<wxValidator> m_validator;
|
||||
#endif
|
||||
wxString m_value;
|
||||
|
||||
wxDECLARE_NO_COPY_CLASS(wxGridCellTextEditor);
|
||||
|
Reference in New Issue
Block a user