diff --git a/src/propgrid/editors.cpp b/src/propgrid/editors.cpp index 98ddcf8956..8e2205a3af 100644 --- a/src/propgrid/editors.cpp +++ b/src/propgrid/editors.cpp @@ -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()); } // -----------------------------------------------------------------------