aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Control/ToolBar.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/Control/ToolBar.h')
-rw-r--r--CPP/Windows/Control/ToolBar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/Windows/Control/ToolBar.h b/CPP/Windows/Control/ToolBar.h
index 7bc93a2..2bf20a5 100644
--- a/CPP/Windows/Control/ToolBar.h
+++ b/CPP/Windows/Control/ToolBar.h
@@ -1,7 +1,7 @@
1// Windows/Control/ToolBar.h 1// Windows/Control/ToolBar.h
2 2
3#ifndef __WINDOWS_CONTROL_TOOLBAR_H 3#ifndef ZIP7_INC_WINDOWS_CONTROL_TOOLBAR_H
4#define __WINDOWS_CONTROL_TOOLBAR_H 4#define ZIP7_INC_WINDOWS_CONTROL_TOOLBAR_H
5 5
6#include "../Window.h" 6#include "../Window.h"
7 7
@@ -18,7 +18,7 @@ public:
18 #ifdef UNDER_CE 18 #ifdef UNDER_CE
19 { 19 {
20 // maybe it must be fixed for more than 1 buttons 20 // maybe it must be fixed for more than 1 buttons
21 DWORD val = GetButtonSize(); 21 const DWORD val = GetButtonSize();
22 size->cx = LOWORD(val); 22 size->cx = LOWORD(val);
23 size->cy = HIWORD(val); 23 size->cy = HIWORD(val);
24 return true; 24 return true;