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
bfe88a00
Commit
bfe88a00
authored
Nov 01, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Store the builtin class names in Unicode.
parent
c23ce884
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
22 additions
and
14 deletions
+22
-14
button.c
dlls/user32/button.c
+2
-1
class.c
dlls/user32/class.c
+1
-1
combo.c
dlls/user32/combo.c
+2
-1
controls.h
dlls/user32/controls.h
+1
-1
desktop.c
dlls/user32/desktop.c
+1
-1
dialog.c
dlls/user32/dialog.c
+1
-1
edit.c
dlls/user32/edit.c
+2
-1
icontitle.c
dlls/user32/icontitle.c
+1
-1
listbox.c
dlls/user32/listbox.c
+4
-2
mdi.c
dlls/user32/mdi.c
+2
-1
menu.c
dlls/user32/menu.c
+1
-1
scroll.c
dlls/user32/scroll.c
+2
-1
static.c
dlls/user32/static.c
+2
-1
No files found.
dlls/user32/button.c
View file @
bfe88a00
...
...
@@ -159,9 +159,10 @@ static WORD checkBoxWidth = 0, checkBoxHeight = 0;
/*********************************************************************
* button class descriptor
*/
static
const
WCHAR
buttonW
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
const
struct
builtin_class_descr
BUTTON_builtin_class
=
{
"Button"
,
/* name */
buttonW
,
/* name */
CS_DBLCLKS
|
CS_VREDRAW
|
CS_HREDRAW
|
CS_PARENTDC
,
/* style */
ButtonWndProcA
,
/* procA */
ButtonWndProcW
,
/* procW */
...
...
dlls/user32/class.c
View file @
bfe88a00
...
...
@@ -371,7 +371,7 @@ static WNDPROC register_builtin( const struct builtin_class_descr *descr )
ATOM
atom
;
CLASS
*
classPtr
;
if
(
!
(
atom
=
GlobalAddAtom
A
(
descr
->
name
)))
return
0
;
if
(
!
(
atom
=
GlobalAddAtom
W
(
descr
->
name
)))
return
0
;
if
(
!
(
classPtr
=
CLASS_RegisterClass
(
atom
,
user32_module
,
FALSE
,
descr
->
style
,
0
,
descr
->
extra
)))
return
0
;
...
...
dlls/user32/combo.c
View file @
bfe88a00
...
...
@@ -93,9 +93,10 @@ static LRESULT WINAPI ComboWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM
/*********************************************************************
* combo class descriptor
*/
static
const
WCHAR
comboboxW
[]
=
{
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
0
};
const
struct
builtin_class_descr
COMBO_builtin_class
=
{
"ComboBox"
,
/* name */
comboboxW
,
/* name */
CS_PARENTDC
|
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
,
/* style */
ComboWndProcA
,
/* procA */
ComboWndProcW
,
/* procW */
...
...
dlls/user32/controls.h
View file @
bfe88a00
...
...
@@ -34,7 +34,7 @@
/* Built-in class descriptor */
struct
builtin_class_descr
{
LPC
STR
name
;
/* class name */
LPC
WSTR
name
;
/* class name */
UINT
style
;
/* class style */
WNDPROC
procA
;
/* ASCII window procedure */
WNDPROC
procW
;
/* Unicode window procedure */
...
...
dlls/user32/desktop.c
View file @
bfe88a00
...
...
@@ -46,7 +46,7 @@ static LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LP
*/
const
struct
builtin_class_descr
DESKTOP_builtin_class
=
{
(
LPCSTR
)
DESKTOP_CLASS_ATOM
,
/* name */
(
LPC
W
STR
)
DESKTOP_CLASS_ATOM
,
/* name */
CS_DBLCLKS
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
DesktopWndProc
,
/* procW */
...
...
dlls/user32/dialog.c
View file @
bfe88a00
...
...
@@ -95,7 +95,7 @@ typedef struct
*/
const
struct
builtin_class_descr
DIALOG_builtin_class
=
{
(
LPCSTR
)
DIALOG_CLASS_ATOM
,
/* name */
(
LPC
W
STR
)
DIALOG_CLASS_ATOM
,
/* name */
CS_SAVEBITS
|
CS_DBLCLKS
,
/* style */
DefDlgProcA
,
/* procA */
DefDlgProcW
,
/* procW */
...
...
dlls/user32/edit.c
View file @
bfe88a00
...
...
@@ -294,9 +294,10 @@ LRESULT WINAPI EditWndProcW(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
/*********************************************************************
* edit class descriptor
*/
static
const
WCHAR
editW
[]
=
{
'E'
,
'd'
,
'i'
,
't'
,
0
};
const
struct
builtin_class_descr
EDIT_builtin_class
=
{
"Edit"
,
/* name */
editW
,
/* name */
CS_DBLCLKS
|
CS_PARENTDC
,
/* style */
EditWndProcA
,
/* procA */
EditWndProcW
,
/* procW */
...
...
dlls/user32/icontitle.c
View file @
bfe88a00
...
...
@@ -45,7 +45,7 @@ static LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPAR
*/
const
struct
builtin_class_descr
ICONTITLE_builtin_class
=
{
(
LPCSTR
)
ICONTITLE_CLASS_ATOM
,
/* name */
(
LPC
W
STR
)
ICONTITLE_CLASS_ATOM
,
/* name */
0
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
IconTitleWndProc
,
/* procW */
...
...
dlls/user32/listbox.c
View file @
bfe88a00
...
...
@@ -136,9 +136,10 @@ static LRESULT LISTBOX_GetItemRect( LB_DESCR *descr, INT index, RECT *rect );
/*********************************************************************
* listbox class descriptor
*/
static
const
WCHAR
listboxW
[]
=
{
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
0
};
const
struct
builtin_class_descr
LISTBOX_builtin_class
=
{
"ListBox"
,
/* name */
listboxW
,
/* name */
CS_DBLCLKS
/*| CS_PARENTDC*/
,
/* style */
ListBoxWndProcA
,
/* procA */
ListBoxWndProcW
,
/* procW */
...
...
@@ -151,9 +152,10 @@ const struct builtin_class_descr LISTBOX_builtin_class =
/*********************************************************************
* combolbox class descriptor
*/
static
const
WCHAR
combolboxW
[]
=
{
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'L'
,
'B'
,
'o'
,
'x'
,
0
};
const
struct
builtin_class_descr
COMBOLBOX_builtin_class
=
{
"ComboLBox"
,
/* name */
combolboxW
,
/* name */
CS_DBLCLKS
|
CS_SAVEBITS
,
/* style */
ListBoxWndProcA
,
/* procA */
ListBoxWndProcW
,
/* procW */
...
...
dlls/user32/mdi.c
View file @
bfe88a00
...
...
@@ -184,9 +184,10 @@ static void MDI_PostUpdate(HWND hwnd, MDICLIENTINFO* ci, WORD recalc)
/*********************************************************************
* MDIClient class descriptor
*/
static
const
WCHAR
mdiclientW
[]
=
{
'M'
,
'D'
,
'I'
,
'C'
,
'l'
,
'i'
,
'e'
,
'n'
,
't'
,
0
};
const
struct
builtin_class_descr
MDICLIENT_builtin_class
=
{
"MDIClient"
,
/* name */
mdiclientW
,
/* name */
0
,
/* style */
MDIClientWndProcA
,
/* procA */
MDIClientWndProcW
,
/* procW */
...
...
dlls/user32/menu.c
View file @
bfe88a00
...
...
@@ -189,7 +189,7 @@ DWORD WINAPI DrawMenuBarTemp(HWND hwnd, HDC hDC, LPRECT lprect, HMENU hMenu, HFO
*/
const
struct
builtin_class_descr
MENU_builtin_class
=
{
(
LPCSTR
)
POPUPMENU_CLASS_ATOM
,
/* name */
(
LPC
W
STR
)
POPUPMENU_CLASS_ATOM
,
/* name */
CS_DROPSHADOW
|
CS_SAVEBITS
|
CS_DBLCLKS
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
PopupMenuWndProc
,
/* procW */
...
...
dlls/user32/scroll.c
View file @
bfe88a00
...
...
@@ -114,9 +114,10 @@ static LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPA
/*********************************************************************
* scrollbar class descriptor
*/
static
const
WCHAR
scrollbarW
[]
=
{
'S'
,
'c'
,
'r'
,
'o'
,
'l'
,
'l'
,
'B'
,
'a'
,
'r'
,
0
};
const
struct
builtin_class_descr
SCROLL_builtin_class
=
{
"ScrollBar"
,
/* name */
scrollbarW
,
/* name */
CS_DBLCLKS
|
CS_VREDRAW
|
CS_HREDRAW
|
CS_PARENTDC
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
ScrollBarWndProc
,
/* procW */
...
...
dlls/user32/static.c
View file @
bfe88a00
...
...
@@ -100,9 +100,10 @@ static const pfPaint staticPaintFunc[SS_TYPEMASK+1] =
/*********************************************************************
* static class descriptor
*/
static
const
WCHAR
staticW
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'i'
,
'c'
,
0
};
const
struct
builtin_class_descr
STATIC_builtin_class
=
{
"Static"
,
/* name */
staticW
,
/* name */
CS_DBLCLKS
|
CS_PARENTDC
,
/* style */
StaticWndProcA
,
/* procA */
StaticWndProcW
,
/* procW */
...
...
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