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
76775403
Commit
76775403
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: Activate tree verification only when TRACE() is on.
parent
2d5c4944
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
treeview.c
dlls/comctl32/treeview.c
+3
-14
No files found.
dlls/comctl32/treeview.c
View file @
76775403
...
...
@@ -213,21 +213,11 @@ static VOID TREEVIEW_UpdateScrollBars(TREEVIEW_INFO *infoPtr);
static
LRESULT
TREEVIEW_HScroll
(
TREEVIEW_INFO
*
,
WPARAM
);
/* Random Utilities *****************************************************/
#ifndef NDEBUG
static
inline
void
TREEVIEW_VerifyTree
(
TREEVIEW_INFO
*
infoPtr
)
{
(
void
)
infoPtr
;
}
#else
/* The definition is at the end of the file. */
static
void
TREEVIEW_VerifyTree
(
TREEVIEW_INFO
*
infoPtr
);
#endif
/* Returns the treeview private data if hwnd is a treeview.
* Otherwise returns an undefined value. */
static
TREEVIEW_INFO
*
static
inline
TREEVIEW_INFO
*
TREEVIEW_GetInfoPtr
(
HWND
hwnd
)
{
return
(
TREEVIEW_INFO
*
)
GetWindowLongPtrW
(
hwnd
,
0
);
...
...
@@ -5818,7 +5808,6 @@ TREEVIEW_Unregister(void)
/* Tree Verification ****************************************************/
#ifdef NDEBUG
static
inline
void
TREEVIEW_VerifyChildren
(
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
);
...
...
@@ -5905,8 +5894,8 @@ TREEVIEW_VerifyRoot(TREEVIEW_INFO *infoPtr)
static
void
TREEVIEW_VerifyTree
(
TREEVIEW_INFO
*
infoPtr
)
{
assert
(
infoPtr
!=
NULL
)
;
if
(
!
TRACE_ON
(
treeview
))
return
;
assert
(
infoPtr
!=
NULL
);
TREEVIEW_VerifyRoot
(
infoPtr
);
}
#endif
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