mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-23 14:45:04 +08:00
Fix editor max length
Passed as wrong parameter
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user