]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_hyperlink.cpp
Use t_str() instead of c_str()
[wxWidgets.git] / src / xrc / xh_hyperlink.cpp
index d471b1aa5ce15d736f6061d367b5738e1c329d53..2976cc26fa7add6fed521e3113cbe6fba9a1f212 100644 (file)
@@ -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);