Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
369d414d
Commit
369d414d
authored
Apr 12, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove unused variables.
parent
43dc4116
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
+3
-8
propsheet.c
dlls/comctl32/propsheet.c
+0
-2
toolbar.c
dlls/comctl32/toolbar.c
+1
-2
trackbar.c
dlls/comctl32/trackbar.c
+1
-2
treeview.c
dlls/comctl32/treeview.c
+1
-2
No files found.
dlls/comctl32/propsheet.c
View file @
369d414d
...
@@ -3412,7 +3412,6 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
...
@@ -3412,7 +3412,6 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
lParam
;
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
lParam
;
WCHAR
*
strCaption
=
(
WCHAR
*
)
Alloc
(
MAX_CAPTION_LENGTH
*
sizeof
(
WCHAR
));
WCHAR
*
strCaption
=
(
WCHAR
*
)
Alloc
(
MAX_CAPTION_LENGTH
*
sizeof
(
WCHAR
));
HWND
hwndTabCtrl
=
GetDlgItem
(
hwnd
,
IDC_TABCONTROL
);
HWND
hwndTabCtrl
=
GetDlgItem
(
hwnd
,
IDC_TABCONTROL
);
LPCPROPSHEETPAGEW
ppshpage
;
int
idx
;
int
idx
;
LOGFONTW
logFont
;
LOGFONTW
logFont
;
...
@@ -3508,7 +3507,6 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
...
@@ -3508,7 +3507,6 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
PSCB_INITIALIZED
,
(
LPARAM
)
0
);
PSCB_INITIALIZED
,
(
LPARAM
)
0
);
idx
=
psInfo
->
active_page
;
idx
=
psInfo
->
active_page
;
ppshpage
=
(
LPCPROPSHEETPAGEW
)
psInfo
->
proppage
[
idx
].
hpage
;
psInfo
->
active_page
=
-
1
;
psInfo
->
active_page
=
-
1
;
PROPSHEET_SetCurSel
(
hwnd
,
idx
,
1
,
psInfo
->
proppage
[
idx
].
hpage
);
PROPSHEET_SetCurSel
(
hwnd
,
idx
,
1
,
psInfo
->
proppage
[
idx
].
hpage
);
...
...
dlls/comctl32/toolbar.c
View file @
369d414d
...
@@ -1280,7 +1280,7 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
...
@@ -1280,7 +1280,7 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
TBUTTON_INFO
*
btnPtr
;
TBUTTON_INFO
*
btnPtr
;
INT
x
,
cx
,
i
,
j
;
INT
x
,
cx
,
i
,
j
;
RECT
rc
;
RECT
rc
;
BOOL
b
Wrap
,
b
ButtonWrap
;
BOOL
bButtonWrap
;
/* When the toolbar window style is not TBSTYLE_WRAPABLE, */
/* When the toolbar window style is not TBSTYLE_WRAPABLE, */
/* no layout is necessary. Applications may use this style */
/* no layout is necessary. Applications may use this style */
...
@@ -1314,7 +1314,6 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
...
@@ -1314,7 +1314,6 @@ TOOLBAR_WrapToolbar( HWND hwnd, DWORD dwStyle )
for
(
i
=
0
;
i
<
infoPtr
->
nNumButtons
;
i
++
)
for
(
i
=
0
;
i
<
infoPtr
->
nNumButtons
;
i
++
)
{
{
bWrap
=
FALSE
;
btnPtr
[
i
].
fsState
&=
~
TBSTATE_WRAP
;
btnPtr
[
i
].
fsState
&=
~
TBSTATE_WRAP
;
if
(
btnPtr
[
i
].
fsState
&
TBSTATE_HIDDEN
)
if
(
btnPtr
[
i
].
fsState
&
TBSTATE_HIDDEN
)
...
...
dlls/comctl32/trackbar.c
View file @
369d414d
...
@@ -822,7 +822,6 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
...
@@ -822,7 +822,6 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
HBITMAP
hOldBmp
=
0
,
hOffScreenBmp
=
0
;
HBITMAP
hOldBmp
=
0
,
hOffScreenBmp
=
0
;
NMCUSTOMDRAW
nmcd
;
NMCUSTOMDRAW
nmcd
;
int
gcdrf
,
icdrf
;
int
gcdrf
,
icdrf
;
HTHEME
theme
;
if
(
infoPtr
->
flags
&
TB_THUMBCHANGED
)
{
if
(
infoPtr
->
flags
&
TB_THUMBCHANGED
)
{
TRACKBAR_UpdateThumb
(
infoPtr
);
TRACKBAR_UpdateThumb
(
infoPtr
);
...
@@ -867,7 +866,7 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
...
@@ -867,7 +866,7 @@ TRACKBAR_Refresh (TRACKBAR_INFO *infoPtr, HDC hdcDst)
/* Erase background */
/* Erase background */
if
(
gcdrf
==
CDRF_DODEFAULT
||
if
(
gcdrf
==
CDRF_DODEFAULT
||
notify_customdraw
(
infoPtr
,
&
nmcd
,
CDDS_PREERASE
)
!=
CDRF_SKIPDEFAULT
)
{
notify_customdraw
(
infoPtr
,
&
nmcd
,
CDDS_PREERASE
)
!=
CDRF_SKIPDEFAULT
)
{
if
(
(
theme
=
GetWindowTheme
(
infoPtr
->
hwndSelf
)
))
{
if
(
GetWindowTheme
(
infoPtr
->
hwndSelf
))
{
DrawThemeParentBackground
(
infoPtr
->
hwndSelf
,
hdc
,
0
);
DrawThemeParentBackground
(
infoPtr
->
hwndSelf
,
hdc
,
0
);
}
}
else
else
...
...
dlls/comctl32/treeview.c
View file @
369d414d
...
@@ -3575,12 +3575,11 @@ TREEVIEW_Command(TREEVIEW_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
...
@@ -3575,12 +3575,11 @@ TREEVIEW_Command(TREEVIEW_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
TREEVIEW_ITEM
*
editItem
=
infoPtr
->
selectedItem
;
TREEVIEW_ITEM
*
editItem
=
infoPtr
->
selectedItem
;
HDC
hdc
=
GetDC
(
infoPtr
->
hwndEdit
);
HDC
hdc
=
GetDC
(
infoPtr
->
hwndEdit
);
SIZE
sz
;
SIZE
sz
;
int
len
;
HFONT
hFont
,
hOldFont
=
0
;
HFONT
hFont
,
hOldFont
=
0
;
infoPtr
->
bLabelChanged
=
TRUE
;
infoPtr
->
bLabelChanged
=
TRUE
;
len
=
GetWindowTextW
(
infoPtr
->
hwndEdit
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
GetWindowTextW
(
infoPtr
->
hwndEdit
,
buffer
,
sizeof
(
buffer
)
/
sizeof
(
buffer
[
0
]));
/* Select font to get the right dimension of the string */
/* Select font to get the right dimension of the string */
hFont
=
(
HFONT
)
SendMessageW
(
infoPtr
->
hwndEdit
,
WM_GETFONT
,
0
,
0
);
hFont
=
(
HFONT
)
SendMessageW
(
infoPtr
->
hwndEdit
,
WM_GETFONT
,
0
,
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