Nikolay Sivov : comctl32/datetime: Use SDK defined class name instead of another local constant.
Alexandre Julliard
julliard at winehq.org
Fri Oct 2 11:02:20 CDT 2009
Module: wine
Branch: master
Commit: 7bd581e62c4c49421368de789e69a4693fb5f118
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7bd581e62c4c49421368de789e69a4693fb5f118
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Thu Oct 1 21:35:44 2009 +0400
comctl32/datetime: Use SDK defined class name instead of another local constant.
---
dlls/comctl32/datetime.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index 8f7f5dd..891ca91 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -1241,7 +1241,6 @@ DATETIME_SetFont (DATETIME_INFO *infoPtr, HFONT font, BOOL repaint)
static LRESULT
DATETIME_Create (HWND hwnd, const CREATESTRUCTW *lpcs)
{
- static const WCHAR SysMonthCal32W[] = { 'S', 'y', 's', 'M', 'o', 'n', 't', 'h', 'C', 'a', 'l', '3', '2', 0 };
DATETIME_INFO *infoPtr = Alloc (sizeof(DATETIME_INFO));
STYLESTRUCT ss = { 0, lpcs->style };
@@ -1262,7 +1261,7 @@ DATETIME_Create (HWND hwnd, const CREATESTRUCTW *lpcs)
DATETIME_SetFormatW (infoPtr, 0);
/* create the monthcal control */
- infoPtr->hMonthCal = CreateWindowExW (0, SysMonthCal32W, 0, WS_BORDER | WS_POPUP | WS_CLIPSIBLINGS,
+ infoPtr->hMonthCal = CreateWindowExW (0, MONTHCAL_CLASSW, 0, WS_BORDER | WS_POPUP | WS_CLIPSIBLINGS,
0, 0, 0, 0, infoPtr->hwndSelf, 0, 0, 0);
/* initialize info structure */
More information about the wine-cvs
mailing list