X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/971d51227fd52e6781607eccd9504e6b7cb77fff..9db177273906bb393b97b4a98f6a8b4d61e8f0e3:/src/xrc/xh_hyperlink.cpp?ds=sidebyside diff --git a/src/xrc/xh_hyperlink.cpp b/src/xrc/xh_hyperlink.cpp index 2976cc26fa..b70eb3f1fe 100644 --- a/src/xrc/xh_hyperlink.cpp +++ b/src/xrc/xh_hyperlink.cpp @@ -64,11 +64,16 @@ wxObject *wxHyperlinkCtrlXmlHandler::DoCreateResource() { XRC_MAKE_INSTANCE(control, wxHyperlinkCtrl) - control->Create(m_parentAsWindow, GetID(), - GetParamValue(wxT("label")), GetParamValue(wxT("url")), - GetPosition(), GetSize(), - GetStyle(wxT("style"), wxHL_DEFAULT_STYLE), - GetName()); + control->Create + ( + m_parentAsWindow, + GetID(), + GetText(wxT("label")), + GetParamValue(wxT("url")), + GetPosition(), GetSize(), + GetStyle(wxT("style"), wxHL_DEFAULT_STYLE), + GetName() + ); SetupWindow(control);