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
87ba2ef3
Commit
87ba2ef3
authored
Aug 08, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Don't keep track of the number of TB buttons.
- Call the W version of SetWindowLongPtr.
parent
4e0f6a45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
help.c
dlls/hhctrl.ocx/help.c
+1
-3
No files found.
dlls/hhctrl.ocx/help.c
View file @
87ba2ef3
...
...
@@ -45,7 +45,6 @@ typedef struct tagHHInfo
HH_WINTYPEW
*
pHHWinType
;
HINSTANCE
hInstance
;
LPWSTR
szCmdLine
;
DWORD
dwNumTBButtons
;
HWND
hwndTabCtrl
;
HFONT
hFont
;
}
HHInfo
;
...
...
@@ -194,7 +193,6 @@ static BOOL HH_AddToolbar(HHInfo *pHHInfo)
toolbarFlags
=
HHWIN_BUTTON_EXPAND
|
HHWIN_BUTTON_BACK
|
HHWIN_BUTTON_STOP
|
HHWIN_BUTTON_REFRESH
|
HHWIN_BUTTON_HOME
|
HHWIN_BUTTON_PRINT
;
TB_AddButtonsFromFlags
(
buttons
,
toolbarFlags
,
&
dwNumButtons
);
pHHInfo
->
dwNumTBButtons
=
dwNumButtons
;
dwStyles
=
WS_CHILDWINDOW
|
WS_VISIBLE
|
TBSTYLE_FLAT
|
TBSTYLE_WRAPABLE
|
TBSTYLE_TOOLTIPS
|
CCS_NODIVIDER
;
...
...
@@ -338,7 +336,7 @@ static BOOL HH_AddHTMLPane(HHInfo *pHHInfo)
return
FALSE
;
/* store the pointer to the HH info struct */
SetWindowLongPtr
A
(
hWnd
,
GWLP_USERDATA
,
(
LONG_PTR
)
pHHInfo
);
SetWindowLongPtr
W
(
hWnd
,
GWLP_USERDATA
,
(
LONG_PTR
)
pHHInfo
);
ShowWindow
(
hWnd
,
SW_SHOW
);
UpdateWindow
(
hWnd
);
...
...
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