diff options
author | George Hazan <george.hazan@gmail.com> | 2025-01-24 12:06:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-01-24 12:06:07 +0300 |
commit | c19cad516f8fdbc01f9ced10947ecb1865dbda5e (patch) | |
tree | 2694dd74e174dafe1e571ea15be6aeb894401011 /include/m_gui.h | |
parent | 5f811a30c9d5c991329bc5a1c242fbec40694ec4 (diff) |
CCtrlMButton: default values for constructor parameters
Diffstat (limited to 'include/m_gui.h')
-rw-r--r-- | include/m_gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_gui.h b/include/m_gui.h index d2f2a35232..44c6ecddd6 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -625,8 +625,8 @@ class MIR_CORE_EXPORT CCtrlMButton : public CCtrlButton typedef CCtrlButton CSuper;
public:
- CCtrlMButton(CDlgBase *dlg, int ctrlId, HICON hIcon, const char* tooltip);
- CCtrlMButton(CDlgBase *dlg, int ctrlId, int iCoreIcon, const char* tooltip);
+ CCtrlMButton(CDlgBase *dlg, int ctrlId, HICON hIcon, const char* tooltip = nullptr);
+ CCtrlMButton(CDlgBase *dlg, int ctrlId, int iCoreIcon = -1, const char* tooltip = nullptr);
~CCtrlMButton();
void MakeFlat();
|