diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-05 20:08:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-05 20:08:43 +0000 |
commit | 35a9af527f9b7ec35e81455784cd0a795be910c5 (patch) | |
tree | 7a562aa27d45a54e143d732452bfc62ad2d242c7 /src/modules/clist/clui.cpp | |
parent | 81dc8462ddae0555821a6093bda8a67fe6bb504e (diff) |
- removed duplicate constants;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clui.cpp')
-rw-r--r-- | src/modules/clist/clui.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp index 0e569f7ccb..b39dd5882c 100644 --- a/src/modules/clist/clui.cpp +++ b/src/modules/clist/clui.cpp @@ -449,7 +449,11 @@ void fnDrawMenuItem(DRAWITEMSTRUCT *dis, HICON hIcon, HICON eventIcon) return;
}
-#define M_CREATECLC (WM_USER+1)
+static void CreateCLC()
+{
+ cli.pfnReloadExtraIcons();
+}
+
LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
if (msg == uMsgProcessProfile)
@@ -532,6 +536,8 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM | (db_get_b(NULL, "CList", "HideEmptyGroups", SETTING_HIDEEMPTYGROUPS_DEFAULT) ?
CLS_HIDEEMPTYGROUPS : 0), 0, 0, 0, 0, hwnd, NULL, cli.hInst, NULL);
SendMessage(hwnd, WM_SIZE, 0, 0);
+
+ CreateCLC();
break;
case M_RESTORESTATUS:
|