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
d2f4893c
Commit
d2f4893c
authored
Nov 01, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Don't update rebar layout if it doesn't change in REBAR_HandleUDDrag.
parent
a9c6113c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
rebar.c
dlls/comctl32/rebar.c
+4
-0
No files found.
dlls/comctl32/rebar.c
View file @
d2f4893c
...
@@ -2136,6 +2136,8 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
...
@@ -2136,6 +2136,8 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
if
(
yOff
<
0
)
if
(
yOff
<
0
)
{
{
/* Place the band above the current top row */
/* Place the band above the current top row */
if
(
iHitBand
==
0
&&
(
infoPtr
->
uNumBands
==
1
||
REBAR_GetBand
(
infoPtr
,
1
)
->
fStyle
&
RBBS_BREAK
))
return
;
DPA_DeletePtr
(
infoPtr
->
bands
,
iHitBand
);
DPA_DeletePtr
(
infoPtr
->
bands
,
iHitBand
);
hitBand
->
fStyle
&=
RBBS_BREAK
;
hitBand
->
fStyle
&=
RBBS_BREAK
;
REBAR_GetBand
(
infoPtr
,
0
)
->
fStyle
|=
RBBS_BREAK
;
REBAR_GetBand
(
infoPtr
,
0
)
->
fStyle
|=
RBBS_BREAK
;
...
@@ -2145,6 +2147,8 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
...
@@ -2145,6 +2147,8 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
else
if
(
yOff
>
REBAR_GetBand
(
infoPtr
,
infoPtr
->
uNumBands
-
1
)
->
rcBand
.
bottom
)
else
if
(
yOff
>
REBAR_GetBand
(
infoPtr
,
infoPtr
->
uNumBands
-
1
)
->
rcBand
.
bottom
)
{
{
/* Place the band below the current bottom row */
/* Place the band below the current bottom row */
if
(
iHitBand
==
infoPtr
->
uNumBands
-
1
&&
hitBand
->
fStyle
&
RBBS_BREAK
)
return
;
DPA_DeletePtr
(
infoPtr
->
bands
,
iHitBand
);
DPA_DeletePtr
(
infoPtr
->
bands
,
iHitBand
);
hitBand
->
fStyle
|=
RBBS_BREAK
;
hitBand
->
fStyle
|=
RBBS_BREAK
;
infoPtr
->
iGrabbedBand
=
DPA_InsertPtr
(
infoPtr
->
iGrabbedBand
=
DPA_InsertPtr
(
...
...
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