summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-15 12:52:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-15 12:52:24 +0300
commit3868296f242d7595347e99beb9c239279de4bfff (patch)
treeb11396e44633e059860195a3376f84dfa60eb1b5 /protocols
parentcdfee30cb545e43dac6d44ac6aab60859aefe5aa (diff)
CCtrlButton + OnClick => CCtrlHyperlink
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/irc_dlg.h1
-rw-r--r--protocols/IRCG/src/options.cpp6
2 files changed, 0 insertions, 7 deletions
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();