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:
@@ -63,6 +63,9 @@ wxObject *wxTextCtrlXmlHandler::DoCreateResource()
|
||||
|
||||
SetupWindow(text);
|
||||
|
||||
if (HasParam(wxT("maxlength")))
|
||||
text->SetMaxLength(GetLong(wxT("maxlength")));
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user