]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_hyperlink.cpp
Fix remaining warnings in ie backend.
[wxWidgets.git] / src / xrc / xh_hyperlink.cpp
index 2976cc26fa7add6fed521e3113cbe6fba9a1f212..b70eb3f1fe6c5f1c17148c75e744f18a2dc63a8a 100644 (file)
@@ -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);