This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/share/CodeBlocks/lexers/lexer_diff.sample

18 lines
690 B
Plaintext

Index: startherepage.cpp
===================================================================
--- startherepage.cpp (revision 1893)
+++ startherepage.cpp (working copy)
@@ -33,11 +33,7 @@
{
if (!m_pOwner->LinkClicked(link))
{
- #ifdef __WXMSW__
- ShellExecute(0,0,link.GetHref().c_str(),0,_T(""),SW_SHOWNORMAL);
- #else
- wxMessageBox(_("We 're sorry but currently this is not supported in your platform"), _("Information"), wxICON_INFORMATION);
- #endif
+ wxLaunchDefaultBrowser(link.GetHref());
}
}
}