From 3868296f242d7595347e99beb9c239279de4bfff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Apr 2018 12:52:24 +0300 Subject: CCtrlButton + OnClick => CCtrlHyperlink --- protocols/IRCG/src/irc_dlg.h | 1 - protocols/IRCG/src/options.cpp | 6 ------ 2 files changed, 7 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/irc_dlg.h b/protocols/IRCG/src/irc_dlg.h index 75a4d341e5..c84cde8aac 100644 --- a/protocols/IRCG/src/irc_dlg.h +++ b/protocols/IRCG/src/irc_dlg.h @@ -261,7 +261,6 @@ struct COtherPrefsDlg : public CProtoDlgBase < CIrcProto > virtual void OnApply(); virtual void OnDestroy(); - void OnUrl(CCtrlButton*); void OnPerformCombo(CCtrlData*); void OnCodePage(CCtrlData*); void OnPerformEdit(CCtrlData*); diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index 137bd722cc..bbe588c88a 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -985,7 +985,6 @@ COtherPrefsDlg::COtherPrefsDlg(CIrcProto* _pro) m_delete(this, IDC_DELETE, LoadIconEx(IDI_DELETE), LPGEN("Click to delete the commands for this event")), m_performlistModified(false) { - m_url.OnClick = Callback(this, &COtherPrefsDlg::OnUrl); m_performCombo.OnChange = Callback(this, &COtherPrefsDlg::OnPerformCombo); m_codepage.OnChange = Callback(this, &COtherPrefsDlg::OnCodePage); m_pertormEdit.OnChange = Callback(this, &COtherPrefsDlg::OnPerformEdit); @@ -1042,11 +1041,6 @@ void COtherPrefsDlg::OnInitDialog() m_autodetect.SetState(m_proto->m_utfAutodetect); } -void COtherPrefsDlg::OnUrl(CCtrlButton*) -{ - Utils_OpenUrl("http://members.chello.se/matrix/index.html"); -} - void COtherPrefsDlg::OnPerformCombo(CCtrlData*) { int i = m_performCombo.GetCurSel(); -- cgit v1.2.3