X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92ad37af674770b7b7e86c64d69494e9a86a2f68..4de25822f373782dab54d09e1be978d94b97ca76:/src/xrc/xh_hyperlink.cpp diff --git a/src/xrc/xh_hyperlink.cpp b/src/xrc/xh_hyperlink.cpp index d471b1aa5c..870b7b4707 100644 --- a/src/xrc/xh_hyperlink.cpp +++ b/src/xrc/xh_hyperlink.cpp @@ -4,7 +4,6 @@ // Author: David Norris // Modified by: Ryan Norton, Francesco Montorsi // Created: 04/02/2005 -// RCS-ID: $Id$ // Copyright: (c) 2005 David Norris // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -64,10 +63,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)); + control->Create + ( + m_parentAsWindow, + GetID(), + GetText(wxT("label")), + GetParamValue(wxT("url")), + GetPosition(), GetSize(), + GetStyle(wxT("style"), wxHL_DEFAULT_STYLE), + GetName() + ); SetupWindow(control);