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
b3549350
Commit
b3549350
authored
Jun 08, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/treeview: Remove commented out lines.
parent
76775403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
treeview.c
dlls/comctl32/treeview.c
+2
-16
No files found.
dlls/comctl32/treeview.c
View file @
b3549350
...
...
@@ -852,15 +852,9 @@ static INT TREEVIEW_NotifyFormat (TREEVIEW_INFO *infoPtr, HWND hwndFrom, UINT nC
static
VOID
TREEVIEW_ComputeItemInternalMetrics
(
const
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
)
{
/* Same effect, different optimisation. */
#if 0
BOOL lar = ((infoPtr->dwStyle & TVS_LINESATROOT)
&& (infoPtr->dwStyle & (TVS_HASLINES|TVS_HASBUTTONS)));
#else
BOOL
lar
=
((
infoPtr
->
dwStyle
&
(
TVS_LINESATROOT
|
TVS_HASLINES
|
TVS_HASBUTTONS
))
/* has TVS_LINESATROOT and (TVS_HASLINES|TVS_HASBUTTONS) */
BOOL
lar
=
((
infoPtr
->
dwStyle
&
(
TVS_LINESATROOT
|
TVS_HASLINES
|
TVS_HASBUTTONS
))
>
TVS_LINESATROOT
);
#endif
item
->
linesOffset
=
infoPtr
->
uIndent
*
(
lar
?
item
->
iLevel
:
item
->
iLevel
-
1
)
-
infoPtr
->
scrollX
;
...
...
@@ -3451,10 +3445,6 @@ TREEVIEW_ExpandMsg(TREEVIEW_INFO *infoPtr, UINT flag, HTREEITEM wineItem)
default:
return
0
;
}
#if 0
TRACE("Exiting, Item %p state is now %d...\n", wineItem, wineItem->state);
#endif
}
/* Hit-Testing **********************************************************/
...
...
@@ -5028,10 +5018,6 @@ TREEVIEW_Create(HWND hwnd, const CREATESTRUCTW *lpcs)
infoPtr
->
root
->
visibleOrder
=
-
1
;
infoPtr
->
hwndNotify
=
lpcs
->
hwndParent
;
#if 0
infoPtr->bTransparent = ( GetWindowLongW( hwnd, GWL_STYLE) & TBSTYLE_FLAT);
#endif
infoPtr
->
hwndToolTip
=
0
;
infoPtr
->
bNtfUnicode
=
IsWindowUnicode
(
hwnd
);
...
...
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