From: Vadim Zeitlin Date: Sat, 7 Jun 2008 00:04:53 +0000 (+0000) Subject: specify the name of the control (#9515) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/971d51227fd52e6781607eccd9504e6b7cb77fff specify the name of the control (#9515) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_hyperlink.cpp b/src/xrc/xh_hyperlink.cpp index d471b1aa5c..2976cc26fa 100644 --- a/src/xrc/xh_hyperlink.cpp +++ b/src/xrc/xh_hyperlink.cpp @@ -67,7 +67,8 @@ wxObject *wxHyperlinkCtrlXmlHandler::DoCreateResource() control->Create(m_parentAsWindow, GetID(), GetParamValue(wxT("label")), GetParamValue(wxT("url")), GetPosition(), GetSize(), - GetStyle(wxT("style"), wxHL_DEFAULT_STYLE)); + GetStyle(wxT("style"), wxHL_DEFAULT_STYLE), + GetName()); SetupWindow(control);