Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
f9e280aa
Commit
f9e280aa
authored
24 years ago
by
Ken Thomases
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Restore accidentally undone changes.
parent
f7a51e1e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/comctl32/tab.c
+12
-4
12 additions, 4 deletions
dlls/comctl32/tab.c
with
12 additions
and
4 deletions
dlls/comctl32/tab.c
+
12
−
4
View file @
f9e280aa
...
...
@@ -601,6 +601,10 @@ static void TAB_SetupScrolling(
*/
if
(
infoPtr
->
hwndUpDown
==
0
)
{
/*
* I use a scrollbar since it seems to be more stable than the Updown
* control.
*/
infoPtr
->
hwndUpDown
=
CreateWindowA
(
"msctls_updown32"
,
""
,
WS_VISIBLE
|
WS_CHILD
|
UDS_HORZ
,
...
...
@@ -816,6 +820,10 @@ static void TAB_SetItemBounds (HWND hwnd)
infoPtr
->
needsScrolling
=
(
curItemLeftPos
+
(
2
*
SELECTED_TAB_OFFSET
)
>
clientRect
.
right
);
/* Don't need scrolling, then update infoPtr->leftmostVisible */
if
(
!
infoPtr
->
needsScrolling
)
infoPtr
->
leftmostVisible
=
0
;
TAB_SetupScrolling
(
hwnd
,
infoPtr
,
&
clientRect
);
}
...
...
@@ -1314,8 +1322,8 @@ static void TAB_Refresh (HWND hwnd, HDC hdc)
* If we haven't set the current focus yet, set it now.
* Only happens when we first paint the tab controls.
*/
if
(
infoPtr
->
uFocus
==
-
1
)
TAB_SetCurFocus
(
hwnd
,
infoPtr
->
iSelected
);
if
(
infoPtr
->
uFocus
==
-
1
)
TAB_SetCurFocus
(
hwnd
,
infoPtr
->
iSelected
);
}
SelectObject
(
hdc
,
hOldFont
);
...
...
@@ -1555,12 +1563,12 @@ TAB_InsertItem (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
pti
->
mask
&
TCIF_PARAM
)
infoPtr
->
items
[
iItem
].
lParam
=
pti
->
lParam
;
TAB_SetItemBounds
(
hwnd
);
TAB_InvalidateTabArea
(
hwnd
,
infoPtr
);
TRACE
(
"[%04x]: added item %d '%s'
\n
"
,
hwnd
,
iItem
,
infoPtr
->
items
[
iItem
].
pszText
);
TAB_SetItemBounds
(
hwnd
);
return
iItem
;
}
...
...
@@ -2111,7 +2119,7 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
default:
if
(
uMsg
>=
WM_USER
)
ERR
(
"unknown msg %04x wp=%08x lp=%08lx
\n
"
,
WARN
(
"unknown msg %04x wp=%08x lp=%08lx
\n
"
,
uMsg
,
wParam
,
lParam
);
return
DefWindowProcA
(
hwnd
,
uMsg
,
wParam
,
lParam
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment