summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-20 18:50:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-20 18:50:20 +0300
commitce09a6d8185f0d9ee8c2b67969aed25e5a29eebe (patch)
treef902c3057bde9934885ac46b34ef7df1c0575f83 /include/m_gui.h
parente7fa95c0ba95d5c78582eb2e03d68d27048c1da4 (diff)
code cleaning
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 73fd9de525..f1ac5c07e4 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -470,7 +470,7 @@ public:
__forceinline int GetCtrlId() const { return m_idCtrl; }
__forceinline CDlgBase *GetParent() const { return m_parentWnd; }
__forceinline bool IsChanged() const { return m_bChanged; }
- __forceinline void SetSilent() { m_bSilent = true; }
+ __forceinline void SetSilent(bool bSilent = true) { m_bSilent = bSilent; }
__forceinline void UseSystemColors() { m_bUseSystemColors = true; }
void Show(bool bShow = true);