diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-24 21:07:59 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-24 21:07:59 +0000 |
commit | 8df1a93786fdae3a67cd64b1eaff09821ce7f84f (patch) | |
tree | ff20f1090d1ee512bed47649b5e734e98ab453b1 /plugins/TopToolBar | |
parent | e98b0138c61701470f2ce98c96ecadab9d4ed301 (diff) |
fix for drawing icons in TopToolBar
git-svn-id: http://svn.miranda-ng.org/main/trunk@2068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar')
-rw-r--r-- | plugins/TopToolBar/src/toolbar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index ad4863d2cd..87db903dc6 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -281,6 +281,9 @@ int ArrangeButtons() }
while (iFirstButtonId < Buttons.getCount() && y >= 0 && (g_ctrl->bAutoSize || (y + g_ctrl->nButtonHeight <= rcClient.bottom - rcClient.top)));
+ for (i=iLastButtonId; i < Buttons.getCount(); i++)
+ hdwp = DeferWindowPos(hdwp, Buttons[i]->hwnd, NULL, nextX, y, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_HIDEWINDOW);
+
if (hdwp)
EndDeferWindowPos(hdwp);
|