From 6c2ab603d2456c41ec977fb3fc18666439a10785 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 06:20:51 +0000 Subject: - fix for the button arrange procedure; - fix for the icons' enabling/disabling; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_toptoolbar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index 40735aa17c..6b72a179da 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -163,8 +163,8 @@ struct TTBCtrl int nButtonWidth; int nButtonHeight; int nButtonSpace; - int nLastHeight; // fix against recursion in WM_SIZE - int nLineCount; + int nLastHeight; // fix against recursion in WM_SIZE + BOOL bOrderChanged; // set by buttons' arrange procedure if the buttons' order was changed BOOL bFlatButtons, bAutoSize, bSingleLine; SortedList* pButtonList; -- cgit v1.2.3