Esempio n. 1
0
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();
}
Esempio n. 2
0
 void onDonateButton(wxCommandEvent&) {
     LaunchUrl(wxT("http://touchcursor.sourceforge.net/")); // Button is disabled for now.
 }
Esempio n. 3
0
 void onWebSiteButton(wxCommandEvent&) {
     LaunchUrl(wxT("http://touchcursor.sourceforge.net/"));
 }
Esempio n. 4
0
 void onLicenseHyperlink(wxHtmlLinkEvent& e) {
     LaunchUrl(e.GetLinkInfo().GetHref());
 }