summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-12 17:01:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-12 17:01:42 +0300
commit62c85038cd5f3dcc53f3fb60549b6130532db236 (patch)
tree6c6c1846d8faf89867483227282a44a27854c529 /src
parent645038464ec0fdc59f358f65691f52e8696751ea (diff)
CCtrlBase:
- obsolete private declarations removed; - initialized member CCtrlBase::m_bSilent inited; - warning fixes
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/CCtrlBase.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mir_core/src/CCtrlBase.cpp b/src/mir_core/src/CCtrlBase.cpp
index 4761bd07d5..84b4998416 100644
--- a/src/mir_core/src/CCtrlBase.cpp
+++ b/src/mir_core/src/CCtrlBase.cpp
@@ -33,13 +33,9 @@ static LIST<CCtrlBase> arControls(10, CompareControls);
/////////////////////////////////////////////////////////////////////////////////////////
// CCtrlBase
-CCtrlBase::CCtrlBase(CDlgBase *wnd, int idCtrl)
- : m_parentWnd(wnd),
- m_idCtrl(idCtrl),
- m_hwnd(nullptr),
- m_bChanged(false),
- m_bSilent(false),
- m_bUseSystemColors(false)
+CCtrlBase::CCtrlBase(CDlgBase *wnd, int idCtrl) :
+ m_parentWnd(wnd),
+ m_idCtrl(idCtrl)
{
if (wnd)
wnd->AddControl(this);