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
33b66809
Commit
33b66809
authored
Aug 20, 2000
by
Chris Morgan
Committed by
Alexandre Julliard
Aug 20, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed direct calls to TREEVIEW_Refresh().
parent
c7acd780
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
+5
-17
treeview.c
dlls/comctl32/treeview.c
+5
-17
No files found.
dlls/comctl32/treeview.c
View file @
33b66809
...
...
@@ -600,7 +600,6 @@ static LRESULT
TREEVIEW_SetInsertMark
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
TREEVIEW_INFO
*
infoPtr
=
TREEVIEW_GetInfoPtr
(
hwnd
);
HDC
hdc
;
FIXME
(
"%d %ld
\n
"
,
wParam
,
lParam
);
if
(
!
TREEVIEW_ValidItem
(
infoPtr
,
(
HTREEITEM
)
lParam
))
return
0
;
...
...
@@ -609,9 +608,7 @@ TREEVIEW_SetInsertMark (HWND hwnd, WPARAM wParam, LPARAM lParam)
infoPtr
->
insertBeforeorAfter
=
(
BOOL
)
wParam
;
infoPtr
->
insertMarkItem
=
(
HTREEITEM
)
lParam
;
hdc
=
GetDC
(
hwnd
);
TREEVIEW_Refresh
(
hwnd
,
hdc
);
ReleaseDC
(
hwnd
,
hdc
);
InvalidateRect
(
hwnd
,
NULL
,
FALSE
);
return
1
;
}
...
...
@@ -1053,7 +1050,6 @@ TREEVIEW_GetItemRect (HWND hwnd, WPARAM wParam, LPARAM lParam)
TREEVIEW_ITEM
*
wineItem
;
HTREEITEM
*
iItem
;
LPRECT
lpRect
=
(
LPRECT
)
lParam
;
HDC
hdc
;
TRACE
(
"
\n
"
);
/*
...
...
@@ -1063,9 +1059,7 @@ TREEVIEW_GetItemRect (HWND hwnd, WPARAM wParam, LPARAM lParam)
return
FALSE
;
if
(
infoPtr
->
Timer
&
TV_REFRESH_TIMER_SET
)
{
hdc
=
GetDC
(
hwnd
);
TREEVIEW_Refresh
(
hwnd
,
hdc
);
/* we want a rect for the current view */
ReleaseDC
(
hwnd
,
hdc
);
InvalidateRect
(
hwnd
,
NULL
,
FALSE
);
}
...
...
@@ -1530,7 +1524,6 @@ TREEVIEW_GetNextItem (HWND hwnd, WPARAM wParam, LPARAM lParam)
TREEVIEW_INFO
*
infoPtr
=
TREEVIEW_GetInfoPtr
(
hwnd
);
TREEVIEW_ITEM
*
wineItem
,
*
returnItem
;
INT
iItem
=
(
INT
)
lParam
,
retval
=
0
,
flag
=
(
INT
)
wParam
;
HDC
hdc
;
switch
(
flag
)
{
case
TVGN_ROOT
:
...
...
@@ -1542,9 +1535,7 @@ TREEVIEW_GetNextItem (HWND hwnd, WPARAM wParam, LPARAM lParam)
break
;
case
TVGN_FIRSTVISIBLE
:
/* FIXME:we should only recalculate, not redraw */
hdc
=
GetDC
(
hwnd
);
TREEVIEW_Refresh
(
hwnd
,
hdc
);
ReleaseDC
(
hwnd
,
hdc
);
InvalidateRect
(
hwnd
,
NULL
,
FALSE
);
retval
=
(
INT
)
infoPtr
->
firstVisible
;
break
;
...
...
@@ -2483,12 +2474,9 @@ TREEVIEW_Size (HWND hwnd, WPARAM wParam, LPARAM lParam)
static
LRESULT
TREEVIEW_StyleChanged
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HDC
hdc
;
TRACE
(
"(%x %lx)
\n
"
,
wParam
,
lParam
);
hdc
=
GetDC
(
hwnd
);
TREEVIEW_Refresh
(
hwnd
,
hdc
);
ReleaseDC
(
hwnd
,
hdc
);
InvalidateRect
(
hwnd
,
NULL
,
FALSE
);
return
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