summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/jabber_console.cpp')
-rw-r--r--protocols/JabberG/jabber_console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/jabber_console.cpp b/protocols/JabberG/jabber_console.cpp
index 0f728b25ec..9772446e4d 100644
--- a/protocols/JabberG/jabber_console.cpp
+++ b/protocols/JabberG/jabber_console.cpp
@@ -412,9 +412,9 @@ void CJabberDlgConsole::OnInitDialog()
for (i = 0; i < SIZEOF(buttons); ++i)
{
SendDlgItemMessage(m_hwnd, buttons[i].idc, BM_SETIMAGE, IMAGE_ICON, (LPARAM)m_proto->LoadIconEx(buttons[i].icon));
- SendDlgItemMessage(m_hwnd, buttons[i].idc, BUTTONSETASFLATBTN, 0, 0);
+ SendDlgItemMessage(m_hwnd, buttons[i].idc, BUTTONSETASFLATBTN, TRUE, 0);
SendDlgItemMessage(m_hwnd, buttons[i].idc, BUTTONADDTOOLTIP, (WPARAM)buttons[i].title, 0);
- if (buttons[i].push) SendDlgItemMessage(m_hwnd, buttons[i].idc, BUTTONSETASPUSHBTN, 0, 0);
+ if (buttons[i].push) SendDlgItemMessage(m_hwnd, buttons[i].idc, BUTTONSETASPUSHBTN, TRUE, 0);
if (buttons[i].pushed) CheckDlgButton(m_hwnd, buttons[i].idc, TRUE);
}