diff options
author | George Hazan <george.hazan@gmail.com> | 2016-06-06 13:08:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-06-06 13:08:58 +0000 |
commit | 74949105683f2d78efaff0376b99308c3fb1efd9 (patch) | |
tree | 4acbe11ca99b42f1b456383746808594fa040ef3 /protocols/JabberG/src/jabber_chat.cpp | |
parent | 176fb1d22df02c5791815a0764273c0b8da1d3d4 (diff) |
- CGroupchatInviteAcceptDlg redesigned to avoid separate thread creation;
- local function WindowSetIcon replaced with Window_SetIcon_IcoLib();
git-svn-id: http://svn.miranda-ng.org/main/trunk@16925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_chat.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp index be0f1efadf..f4a983f1ba 100644 --- a/protocols/JabberG/src/jabber_chat.cpp +++ b/protocols/JabberG/src/jabber_chat.cpp @@ -730,7 +730,7 @@ public: CSuper::OnInitDialog();
SetDlgItemText(m_hwnd, IDC_HEADERBAR, CMString(FORMAT, TranslateT("Invite Users to\n%s"), m_room));
- WindowSetIcon(m_hwnd, m_proto, "group");
+ Window_SetIcon_IcoLib(m_hwnd, g_GetIconHandle(IDI_GROUP));
SetWindowLongPtr(GetDlgItem(m_hwnd, IDC_CLIST), GWL_STYLE,
GetWindowLongPtr(GetDlgItem(m_hwnd, IDC_CLIST), GWL_STYLE) | CLS_HIDEOFFLINE | CLS_CHECKBOXES | CLS_HIDEEMPTYGROUPS | CLS_USEGROUPS | CLS_GREYALTERNATE | CLS_GROUPCHECKBOXES);
@@ -840,7 +840,7 @@ static INT_PTR CALLBACK sttUserInfoDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam);
dat = (TUserInfoData *)lParam;
- WindowSetIcon(hwndDlg, dat->ppro, "group");
+ Window_SetIcon_IcoLib(hwndDlg, g_GetIconHandle(IDI_GROUP));
{
LOGFONT lf;
GetObject((HFONT)SendDlgItemMessage(hwndDlg, IDC_TXT_NICK, WM_GETFONT, 0, 0), sizeof(lf), &lf);
|