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
9fa09e7e
Commit
9fa09e7e
authored
Jun 18, 2000
by
James Hatheway
Committed by
Alexandre Julliard
Jun 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We must return the atom of the class in GetClassInfoEx instead of just
TRUE.
parent
13b1864e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
class.c
windows/class.c
+9
-3
No files found.
windows/class.c
View file @
9fa09e7e
...
...
@@ -1251,7 +1251,9 @@ BOOL16 WINAPI GetClassInfoEx16( HINSTANCE16 hInstance, LPCSTR name, WNDCLASSEX16
wc
->
lpszClassName
=
(
SEGPTR
)
CLASS_GetClassNameA
(
classPtr
);
if
(
HIWORD
(
wc
->
lpszClassName
))
/* Make it a SEGPTR */
wc
->
lpszClassName
=
SEGPTR_GET
(
(
LPSTR
)
wc
->
lpszClassName
);
return
TRUE
;
/* We must return the atom of the class here instead of just TRUE. */
return
atom
;
}
...
...
@@ -1281,7 +1283,9 @@ BOOL WINAPI GetClassInfoExA( HINSTANCE hInstance, LPCSTR name,
wc
->
hbrBackground
=
(
HBRUSH
)
classPtr
->
hbrBackground
;
wc
->
lpszMenuName
=
CLASS_GetMenuNameA
(
classPtr
);
wc
->
lpszClassName
=
CLASS_GetClassNameA
(
classPtr
);
return
TRUE
;
/* We must return the atom of the class here instead of just TRUE. */
return
atom
;
}
...
...
@@ -1311,7 +1315,9 @@ BOOL WINAPI GetClassInfoExW( HINSTANCE hInstance, LPCWSTR name,
wc
->
hbrBackground
=
(
HBRUSH
)
classPtr
->
hbrBackground
;
wc
->
lpszMenuName
=
CLASS_GetMenuNameW
(
classPtr
);
wc
->
lpszClassName
=
CLASS_GetClassNameW
(
classPtr
);;
return
TRUE
;
/* We must return the atom of the class here instead of just TRUE. */
return
atom
;
}
...
...
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