diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-05 13:39:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-05 13:39:25 +0300 |
commit | 563aac340768af4f96fd74a3246098cc3bdf47e0 (patch) | |
tree | 1b5493871936484788b3767d6a3c32066e47b4d5 /protocols/ICQ-WIM | |
parent | 73c62ca9fc13c48a7768136279f0d70ac478c04b (diff) |
fixes #1825 (spin control initialization should be done in the constructor, not inside OnInitDialog)
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r-- | protocols/ICQ-WIM/src/options.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp index 36d74c8903..b4706423d6 100644 --- a/protocols/ICQ-WIM/src/options.cpp +++ b/protocols/ICQ-WIM/src/options.cpp @@ -164,8 +164,8 @@ class CIcqOptionsDlg : public CProtoDlgBase<CIcqProto> public: CIcqOptionsDlg(CIcqProto *ppro, int iDlgID, bool bFullDlg) : CProtoDlgBase<CIcqProto>(ppro, iDlgID), - spin1(this, IDC_SPIN1), - spin2(this, IDC_SPIN2), + spin1(this, IDC_SPIN1, 3600), + spin2(this, IDC_SPIN2, 3600), edtUin(this, IDC_UIN), edtEmail(this, IDC_EMAIL), edtDiff1(this, IDC_DIFF1), @@ -206,9 +206,6 @@ public: cmbStatus2.SetItemData(idx, iStatus); if (iStatus == m_proto->m_iStatus2) cmbStatus2.SetCurSel(idx); - - spin1.SetRange(3600); - spin2.SetRange(3600); } onChange_Timeout1(0); |