summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 20:03:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 20:03:31 +0000
commit17c26d63b27afb740b83ac3a1b9fe9073a332d0b (patch)
treed061d298874c4c408ac049792cd0b15cda0a7e49 /plugins/TopToolBar
parent706e72efc62f8056ac87d6332da4f5d2478ff6b6 (diff)
fix for incorrect icons' creation
git-svn-id: http://svn.miranda-ng.org/main/trunk@931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar')
-rw-r--r--plugins/TopToolBar/toolbarwnd.cpp3
1 files changed, 3 insertions, 0 deletions
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