Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a9143725
Commit
a9143725
authored
Oct 11, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/datetime: Use SDK class name for inner button window.
parent
f12f9488
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
datetime.c
dlls/comctl32/datetime.c
+2
-4
No files found.
dlls/comctl32/datetime.c
View file @
a9143725
...
...
@@ -932,7 +932,7 @@ DATETIME_EraseBackground (const DATETIME_INFO *infoPtr, HDC hdc)
static
LRESULT
DATETIME_Notify
(
DATETIME_INFO
*
infoPtr
,
LPNMHDR
lpnmh
)
DATETIME_Notify
(
DATETIME_INFO
*
infoPtr
,
const
NMHDR
*
lpnmh
)
{
TRACE
(
"Got notification %x from %p
\n
"
,
lpnmh
->
code
,
lpnmh
->
hwndFrom
);
TRACE
(
"info: %p %p %p
\n
"
,
infoPtr
->
hwndSelf
,
infoPtr
->
hMonthCal
,
infoPtr
->
hUpdown
);
...
...
@@ -1272,8 +1272,6 @@ DATETIME_StyleChanging(DATETIME_INFO *infoPtr, WPARAM wStyleType, STYLESTRUCT *l
static
LRESULT
DATETIME_StyleChanged
(
DATETIME_INFO
*
infoPtr
,
WPARAM
wStyleType
,
const
STYLESTRUCT
*
lpss
)
{
static
const
WCHAR
buttonW
[]
=
{
'b'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
TRACE
(
"(styletype=%lx, styleOld=0x%08x, styleNew=0x%08x)
\n
"
,
wStyleType
,
lpss
->
styleOld
,
lpss
->
styleNew
);
...
...
@@ -1282,7 +1280,7 @@ DATETIME_StyleChanged(DATETIME_INFO *infoPtr, WPARAM wStyleType, const STYLESTRU
infoPtr
->
dwStyle
=
lpss
->
styleNew
;
if
(
!
(
lpss
->
styleOld
&
DTS_SHOWNONE
)
&&
(
lpss
->
styleNew
&
DTS_SHOWNONE
)
)
{
infoPtr
->
hwndCheckbut
=
CreateWindowExW
(
0
,
button
W
,
0
,
WS_CHILD
|
WS_VISIBLE
|
BS_AUTOCHECKBOX
,
infoPtr
->
hwndCheckbut
=
CreateWindowExW
(
0
,
WC_BUTTON
W
,
0
,
WS_CHILD
|
WS_VISIBLE
|
BS_AUTOCHECKBOX
,
2
,
2
,
13
,
13
,
infoPtr
->
hwndSelf
,
0
,
(
HINSTANCE
)
GetWindowLongPtrW
(
infoPtr
->
hwndSelf
,
GWLP_HINSTANCE
),
0
);
SendMessageW
(
infoPtr
->
hwndCheckbut
,
BM_SETCHECK
,
1
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment