build fix for wxUSE_VALIDATORS==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-04-11 15:53:41 +00:00
parent df66d2a7b8
commit 7d8501c892
4 changed files with 13 additions and 0 deletions

View File

@@ -76,7 +76,9 @@ public:
// parameters string format is "max_width"
virtual void SetParameters(const wxString& params);
#if wxUSE_VALIDATORS
virtual void SetValidator(const wxValidator& validator);
#endif
virtual wxGridCellEditor *Clone() const;
@@ -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);