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
a0240cad
Commit
a0240cad
authored
Oct 23, 1999
by
Adrian Thurston
Committed by
Alexandre Julliard
Oct 23, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper resource support for dialog title.
parent
0a8e0696
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
propsheet.c
dlls/comctl32/propsheet.c
+16
-4
No files found.
dlls/comctl32/propsheet.c
View file @
a0240cad
...
...
@@ -281,15 +281,26 @@ BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEA lppsp,
if
(
dwFlags
&
PSP_USETITLE
)
{
psInfo
->
proppage
[
index
].
pszText
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
lppsp
->
pszTitle
);
if
(
!
HIWORD
(
lppsp
->
pszTitle
)
)
{
char
szTitle
[
256
];
if
(
!
LoadStringA
(
lppsp
->
hInstance
,
(
UINT
)
lppsp
->
pszTitle
,
szTitle
,
256
)
)
return
FALSE
;
psInfo
->
proppage
[
index
].
pszText
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
szTitle
);
}
else
psInfo
->
proppage
[
index
].
pszText
=
HEAP_strdupAtoW
(
GetProcessHeap
(),
0
,
lppsp
->
pszTitle
);
}
/*
* Build the image list for icons
*/
if
((
dwFlags
&
PSP_USEHICON
)
||
(
dwFlags
&
PSP_USEICONID
))
if
((
dwFlags
&
PSP_USEHICON
)
||
(
dwFlags
&
PSP_USEICONID
))
{
HICON
hIcon
;
int
icon_cx
=
GetSystemMetrics
(
SM_CXSMICON
);
...
...
@@ -1220,6 +1231,7 @@ static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage)
PropSheetInfo
*
psInfo
=
(
PropSheetInfo
*
)
GetPropA
(
hwndDlg
,
PropSheetInfoStr
);
if
(
!
psInfo
)
return
;
for
(
i
=
0
;
i
<
psInfo
->
nPages
;
i
++
)
{
/* set the specified page as clean */
...
...
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