]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/hyperlink.cpp
Fail for assert(0,...).
[wxWidgets.git] / src / generic / hyperlink.cpp
index 54c6a9a092212eecc3c3d6b135705b1302e48d84..d6d2da46cf6c9c1e197616ad41eb571366bf13f9 100644 (file)
@@ -82,7 +82,7 @@ bool wxHyperlinkCtrl::Create(wxWindow *parent, wxWindowID id,
     if(url.empty())
         SetURL(label);
     else
     if(url.empty())
         SetURL(label);
     else
-        SetUrl(url);
+        SetURL(url);
 
     if(label.empty())
         SetLabel(url);
 
     if(label.empty())
         SetLabel(url);