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