Copy max width of wxGridCellTextEditor when cloning it.
Previously the max number of characters that could be entered into the editor was lost when it was cloned, making it impossible to really limit the user entry. Closes #15175. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -625,9 +625,13 @@ class wxGridCellTextEditor : public wxGridCellEditor
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Default constructor.
|
||||
Text cell editor constructor.
|
||||
|
||||
@param maxChars
|
||||
Maximum width of text (this parameter is supported starting since
|
||||
wxWidgets 2.9.5).
|
||||
*/
|
||||
wxGridCellTextEditor();
|
||||
explicit wxGridCellTextEditor(size_t maxChars = 0);
|
||||
|
||||
/**
|
||||
The parameters string format is "n" where n is a number representing
|
||||
|
Reference in New Issue
Block a user