Applied patch [ 1185219 ] maxlength property for xrc textctrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-22 15:42:37 +00:00
parent 3e8711cef5
commit d09aa882ce

View File

@@ -63,6 +63,9 @@ wxObject *wxTextCtrlXmlHandler::DoCreateResource()
SetupWindow(text);
if (HasParam(wxT("maxlength")))
text->SetMaxLength(GetLong(wxT("maxlength")));
return text;
}