From 17c26d63b27afb740b83ac3a1b9fe9073a332d0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 20:03:31 +0000 Subject: fix for incorrect icons' creation git-svn-id: http://svn.miranda-ng.org/main/trunk@931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/toolbarwnd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/TopToolBar/toolbarwnd.cpp b/plugins/TopToolBar/toolbarwnd.cpp index d082464b4f..4795810f19 100644 --- a/plugins/TopToolBar/toolbarwnd.cpp +++ b/plugins/TopToolBar/toolbarwnd.cpp @@ -275,6 +275,9 @@ INT_PTR OnEventFire(WPARAM wParam, LPARAM lParam) 0, 0, 0, g_ctrl->nLastHeight, parent, NULL, hInst, NULL); SetWindowLongPtr(g_ctrl->hWnd, 0, (LPARAM)g_ctrl); + for (int i=0; i < Buttons.getCount(); i++) + Buttons[i]->CreateWnd(); + LoadBackgroundOptions(); // if we're working in skinned clist, receive the standard buttons & customizations -- cgit v1.2.3