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
a49da0b7
Commit
a49da0b7
authored
Apr 18, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Apr 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: header: Remove the unused bUnicode.
parent
7a7f80e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
header.c
dlls/comctl32/header.c
+1
-3
No files found.
dlls/comctl32/header.c
View file @
a49da0b7
...
@@ -77,7 +77,6 @@ typedef struct
...
@@ -77,7 +77,6 @@ typedef struct
BOOL
bCaptured
;
/* Is the mouse captured? */
BOOL
bCaptured
;
/* Is the mouse captured? */
BOOL
bPressed
;
/* Is a header item pressed (down)? */
BOOL
bPressed
;
/* Is a header item pressed (down)? */
BOOL
bTracking
;
/* Is in tracking mode? */
BOOL
bTracking
;
/* Is in tracking mode? */
BOOL
bUnicode
;
/* Unicode flag */
INT
iMoveItem
;
/* index of tracked item. (Tracking mode) */
INT
iMoveItem
;
/* index of tracked item. (Tracking mode) */
INT
xTrackOffset
;
/* distance between the right side of the tracked item and the cursor */
INT
xTrackOffset
;
/* distance between the right side of the tracked item and the cursor */
INT
xOldTrack
;
/* track offset (see above) after the last WM_MOUSEMOVE */
INT
xOldTrack
;
/* track offset (see above) after the last WM_MOUSEMOVE */
...
@@ -170,7 +169,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
...
@@ -170,7 +169,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
HTHEME
theme
=
GetWindowTheme
(
hwnd
);
HTHEME
theme
=
GetWindowTheme
(
hwnd
);
NMCUSTOMDRAW
nmcd
;
NMCUSTOMDRAW
nmcd
;
TRACE
(
"DrawItem(iItem %d bHotTrack %d unicode flag %d)
\n
"
,
iItem
,
bHotTrack
,
infoPtr
->
bUnicode
);
TRACE
(
"DrawItem(iItem %d bHotTrack %d unicode flag %d)
\n
"
,
iItem
,
bHotTrack
,
(
infoPtr
->
nNotifyFormat
==
NFR_UNICODE
)
);
if
(
!
infoPtr
->
bRectsValid
)
if
(
!
infoPtr
->
bRectsValid
)
HEADER_SetItemBounds
(
hwnd
);
HEADER_SetItemBounds
(
hwnd
);
...
@@ -1292,7 +1291,6 @@ HEADER_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -1292,7 +1291,6 @@ HEADER_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
infoPtr
->
iMoveItem
=
0
;
infoPtr
->
iMoveItem
=
0
;
infoPtr
->
himl
=
0
;
infoPtr
->
himl
=
0
;
infoPtr
->
iHotItem
=
-
1
;
infoPtr
->
iHotItem
=
-
1
;
infoPtr
->
bUnicode
=
IsWindowUnicode
(
hwnd
);
infoPtr
->
iMargin
=
3
*
GetSystemMetrics
(
SM_CXEDGE
);
infoPtr
->
iMargin
=
3
*
GetSystemMetrics
(
SM_CXEDGE
);
infoPtr
->
nNotifyFormat
=
infoPtr
->
nNotifyFormat
=
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_NOTIFYFORMAT
,
(
WPARAM
)
hwnd
,
NF_QUERY
);
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_NOTIFYFORMAT
,
(
WPARAM
)
hwnd
,
NF_QUERY
);
...
...
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