unescape the value of wxHyperlinkCtrl label (#9683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bba0174ac7
commit
9acbe413f9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user