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