user32: Make some data const.

This commit is contained in:
Dmitry Timoshkov 2006-11-28 18:38:46 +08:00 committed by Alexandre Julliard
parent 924f73b861
commit 21bcfd72b0
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
}; };
static CRITICAL_SECTION IconCrst = { &critsect_debug, -1, 0, 0, 0, 0 }; static CRITICAL_SECTION IconCrst = { &critsect_debug, -1, 0, 0, 0, 0 };
static WORD ICON_HOTSPOT = 0x4242; static const WORD ICON_HOTSPOT = 0x4242;
/*********************************************************************** /***********************************************************************

View File

@ -1567,7 +1567,7 @@ static const USER_MSG propsht_array[] = {
USM(PSM_SETTITLEW ,0), USM(PSM_SETTITLEW ,0),
USM(PSM_SETFINISHTEXTW ,0), USM(PSM_SETFINISHTEXTW ,0),
{0,0,0} }; {0,0,0} };
const WCHAR PropSheetInfoStr[] = static const WCHAR PropSheetInfoStr[] =
{'P','r','o','p','e','r','t','y','S','h','e','e','t','I','n','f','o',0 }; {'P','r','o','p','e','r','t','y','S','h','e','e','t','I','n','f','o',0 };
static const USER_MSG updown_array[] = { static const USER_MSG updown_array[] = {

View File

@ -73,7 +73,7 @@ static COLORREF color_3dshadow, color_3ddkshadow, color_3dhighlight;
typedef void (*pfPaint)( HWND hwnd, HDC hdc, DWORD style ); typedef void (*pfPaint)( HWND hwnd, HDC hdc, DWORD style );
static pfPaint staticPaintFunc[SS_TYPEMASK+1] = static const pfPaint staticPaintFunc[SS_TYPEMASK+1] =
{ {
STATIC_PaintTextfn, /* SS_LEFT */ STATIC_PaintTextfn, /* SS_LEFT */
STATIC_PaintTextfn, /* SS_CENTER */ STATIC_PaintTextfn, /* SS_CENTER */