Fix editor max length

Passed as wrong parameter
This commit is contained in:
Paul Cornett
2022-12-12 11:18:18 -08:00
parent 5e399fd575
commit 7d8958e1af
+1 -1
View File
@@ -2033,7 +2033,7 @@ wxWindow* wxPropertyGrid::GenerateEditorTextCtrlAndButton( const wxPoint& pos,
if ( !property->IsValueUnspecified() )
text = property->GetValueAsString(property->HasFlag(wxPG_PROP_READONLY)?0:wxPG_EDITABLE_VALUE);
return GenerateEditorTextCtrl(pos,sz,text,but,property->GetMaxLength());
return GenerateEditorTextCtrl(pos, sz, text, but, 0, property->GetMaxLength());
}
// -----------------------------------------------------------------------