X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/add6e9193dfbeec8ad88d4e341bc46165b97e3dd..233666915e284252960bb7618fcb810aa27b0cc6:/src/generic/grideditors.cpp diff --git a/src/generic/grideditors.cpp b/src/generic/grideditors.cpp index 93095852e8..aee78e2fe8 100644 --- a/src/generic/grideditors.cpp +++ b/src/generic/grideditors.cpp @@ -382,9 +382,9 @@ void wxGridCellEditor::StartingClick() // wxGridCellTextEditor // ---------------------------------------------------------------------------- -wxGridCellTextEditor::wxGridCellTextEditor() +wxGridCellTextEditor::wxGridCellTextEditor(size_t maxChars) { - m_maxChars = 0; + m_maxChars = maxChars; } void wxGridCellTextEditor::Create(wxWindow* parent,