diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-13 14:39:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-13 14:39:35 +0000 |
commit | 2fa4d8fd0f2c29517025dfc3bebc8a5e07c3d380 (patch) | |
tree | 2beeddcf0559b1c42c92ea6f32ef771b642285b8 /protocols/IRCG/src/irc_dlg.h | |
parent | ec6783d12fa3d427acabed5460cf343255a77118 (diff) |
- nasty crutch removed from Options_AddPage;
- HWND hwndParent removed from the CDlgBase constructor;
- method CDlgBase::SetParent() added for the rare occasions where it's needed;
git-svn-id: http://svn.miranda-ng.org/main/trunk@12785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/irc_dlg.h')
-rw-r--r-- | protocols/IRCG/src/irc_dlg.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/IRCG/src/irc_dlg.h b/protocols/IRCG/src/irc_dlg.h index 9414365e3b..327130838f 100644 --- a/protocols/IRCG/src/irc_dlg.h +++ b/protocols/IRCG/src/irc_dlg.h @@ -34,7 +34,7 @@ struct CMessageBoxDlg : public CProtoDlgBase < CIrcProto > struct CCoolIrcDlg : public CProtoDlgBase < CIrcProto >
{
- CCoolIrcDlg(CIrcProto* _pro, int dlgId, HWND parent = NULL);
+ CCoolIrcDlg(CIrcProto* _pro, int dlgId);
virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);
@@ -208,8 +208,6 @@ struct CConnectPrefsDlg : public CProtoDlgBase < CIrcProto > CConnectPrefsDlg(CIrcProto* _pro);
- static CDlgBase* Create(void* param) { return new CConnectPrefsDlg((CIrcProto*)param); }
-
virtual void OnInitDialog();
virtual void OnApply();
@@ -236,8 +234,6 @@ struct CCtcpPrefsDlg : public CProtoDlgBase < CIrcProto > CCtcpPrefsDlg(CIrcProto* _pro);
- static CDlgBase* Create(void* param) { return new CCtcpPrefsDlg((CIrcProto*)param); }
-
virtual void OnInitDialog();
virtual void OnApply();
@@ -258,8 +254,6 @@ struct COtherPrefsDlg : public CProtoDlgBase < CIrcProto > COtherPrefsDlg(CIrcProto* _pro);
- static CDlgBase* Create(void* param) { return new COtherPrefsDlg((CIrcProto*)param); }
-
virtual void OnInitDialog();
virtual void OnApply();
virtual void OnDestroy();
@@ -285,8 +279,6 @@ struct CIgnorePrefsDlg : public CProtoDlgBase < CIrcProto > CIgnorePrefsDlg(CIrcProto* _pro);
- static CDlgBase* Create(void* param) { return new CIgnorePrefsDlg((CIrcProto*)param); }
-
virtual void OnInitDialog();
virtual void OnDestroy();
virtual void OnApply();
|