]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_hyperlink.cpp
no changes, just a typo
[wxWidgets.git] / src / xrc / xh_hyperlink.cpp
index d471b1aa5ce15d736f6061d367b5738e1c329d53..b70eb3f1fe6c5f1c17148c75e744f18a2dc63a8a 100644 (file)
@@ -64,10 +64,16 @@ wxObject *wxHyperlinkCtrlXmlHandler::DoCreateResource()
 {
     XRC_MAKE_INSTANCE(control, wxHyperlinkCtrl)
 
 {
     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);
 
 
     SetupWindow(control);