void CamuleDlg::OnKeyPressed(wxKeyEvent& event) { if (event.GetKeyCode() == WXK_F1) { // Ctrl/Alt/Shift must not be pressed, to avoid // conflicts with other (global) shortcuts. if (!event.HasModifiers() && !event.ShiftDown()) { LaunchUrl(wxT("http://wiki.amule.org")); return; } } event.Skip(); }
void onDonateButton(wxCommandEvent&) { LaunchUrl(wxT("http://touchcursor.sourceforge.net/")); // Button is disabled for now. }
void onWebSiteButton(wxCommandEvent&) { LaunchUrl(wxT("http://touchcursor.sourceforge.net/")); }
void onLicenseHyperlink(wxHtmlLinkEvent& e) { LaunchUrl(e.GetLinkInfo().GetHref()); }