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
bc9de050
Commit
bc9de050
authored
Jun 04, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jun 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove bFirstPain funky optimization, it is causing too much grief.
parent
f07dfff1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
listview.c
dlls/comctl32/listview.c
+1
-4
No files found.
dlls/comctl32/listview.c
View file @
bc9de050
...
...
@@ -250,7 +250,6 @@ typedef struct tagLISTVIEW_INFO
INT
ntmHeight
;
/* Some cached metrics of the font used */
INT
ntmAveCharWidth
;
/* by the listview to draw items */
BOOL
bRedraw
;
/* Turns on/off repaints & invalidations */
BOOL
bFirstPaint
;
/* Flags if the control has never painted before */
BOOL
bAutoarrange
;
/* Autoarrange flag when NOT in LVS_AUTOARRANGE */
BOOL
bFocus
;
BOOL
bDoChangeNotify
;
/* send change notification messages? */
...
...
@@ -1315,7 +1314,7 @@ static inline BOOL LISTVIEW_GetItemW(LISTVIEW_INFO *infoPtr, LPLVITEMW lpLVItem)
static
inline
BOOL
is_redrawing
(
LISTVIEW_INFO
*
infoPtr
)
{
return
infoPtr
->
bRedraw
&&
!
infoPtr
->
bFirstPaint
;
return
infoPtr
->
bRedraw
;
}
static
inline
void
LISTVIEW_InvalidateRect
(
LISTVIEW_INFO
*
infoPtr
,
const
RECT
*
rect
)
...
...
@@ -7162,7 +7161,6 @@ static LRESULT LISTVIEW_Create(HWND hwnd, const CREATESTRUCTW *lpcs)
infoPtr
->
nSelectionMark
=
-
1
;
infoPtr
->
nHotItem
=
-
1
;
infoPtr
->
bRedraw
=
TRUE
;
infoPtr
->
bFirstPaint
=
TRUE
;
infoPtr
->
bNoItemMetrics
=
TRUE
;
infoPtr
->
bDoChangeNotify
=
TRUE
;
infoPtr
->
iconSpacing
.
cx
=
GetSystemMetrics
(
SM_CXICONSPACING
);
...
...
@@ -7984,7 +7982,6 @@ static LRESULT LISTVIEW_Paint(LISTVIEW_INFO *infoPtr, HDC hdc)
{
TRACE
(
"(hdc=%p)
\n
"
,
hdc
);
infoPtr
->
bFirstPaint
=
FALSE
;
if
(
infoPtr
->
bNoItemMetrics
&&
infoPtr
->
nItemCount
)
{
UINT
uView
=
infoPtr
->
dwStyle
&
LVS_TYPEMASK
;
...
...
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