diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-20 20:30:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-20 20:30:28 +0300 |
commit | 2f816ea233c40d020d1b63ef2a11ec3b724a710d (patch) | |
tree | 648cbe22c3aa6527afca2ff3e03b93a82d92ddbb /plugins | |
parent | 7b57555a31a940c0cb577acdb0558101ec6946af (diff) |
fixes #895 (broken status bar in tabSRMM)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index f49abafe3c..1e54ac684e 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -477,8 +477,8 @@ void CTabBaseDlg::tabUpdateStatusBar() const SendMessage(m_pContainer->hwndStatus, SB_SETTEXT, 0, (LPARAM)m_wszStatusBar);
}
else if (m_bStatusSet) {
- SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, (LPARAM)m_szStatusText.c_str());
- SendMessage(m_pContainer->hwndStatus, SB_SETTEXT, 0, (LPARAM)m_szStatusIcon);
+ SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, (LPARAM)m_szStatusIcon);
+ SendMessage(m_pContainer->hwndStatus, SB_SETTEXT, 0, (LPARAM)m_szStatusText.c_str());
}
else {
SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, 0);
@@ -487,8 +487,8 @@ void CTabBaseDlg::tabUpdateStatusBar() const }
else {
if (m_bStatusSet) {
- SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, (LPARAM)m_szStatusText.c_str());
- SendMessage(m_pContainer->hwndStatus, SB_SETTEXT, 0, (LPARAM)m_szStatusIcon);
+ SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, (LPARAM)m_szStatusIcon);
+ SendMessage(m_pContainer->hwndStatus, SB_SETTEXT, 0, (LPARAM)m_szStatusText.c_str());
}
else SendMessage(m_pContainer->hwndStatus, SB_SETICON, 0, 0);
}
|