summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:20:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 06:20:51 +0000
commit6c2ab603d2456c41ec977fb3fc18666439a10785 (patch)
tree75c6284dd78895e4cc7ec6b7db198e06ebdcfaa1 /plugins/ExternalAPI
parent987abc0e1d9f8f32d5565701743b40d6c0326e9e (diff)
- 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
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_toptoolbar.h4
1 files changed, 2 insertions, 2 deletions
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;