]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hyperlnkcmn.cpp
Implement support for gradient stops for OS X.
[wxWidgets.git] / src / common / hyperlnkcmn.cpp
index 582147736d0679088e240fa1e487e69c4777038d..7765e21d8b7887e5a76f4512dc7f4d382f176e58 100644 (file)
@@ -77,8 +77,12 @@ void wxHyperlinkCtrlBase::SendEvent()
     wxString url = GetURL();
     wxHyperlinkEvent linkEvent(this, GetId(), url);
     if (!GetEventHandler()->ProcessEvent(linkEvent))     // was the event skipped ?
+    {
         if (!wxLaunchDefaultBrowser(url))
+        {
             wxLogWarning(wxT("Could not launch the default browser with url '%s' !"), url.c_str());
+        }
+    }
 }
 
 #endif // wxUSE_HYPERLINKCTRL