http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4136de
)
user32: Added support for WS_EX_RIGHT in the static control.
author
Alexandre Julliard
<julliard@winehq.org>
Thu, 17 Apr 2008 17:26:43 +0000
(19:26 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 17 Apr 2008 17:26:43 +0000
(19:26 +0200)
dlls/user32/static.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/user32/static.c
b/dlls/user32/static.c
index df1987541302b865aa56ddef1036621214ad8fd1..ca83a765c3694bc5b317698af0d36c712f0d9b64 100644
(file)
--- a/
dlls/user32/static.c
+++ b/
dlls/user32/static.c
@@
-688,6
+688,9
@@
static void STATIC_PaintTextfn( HWND hwnd, HDC hdc, DWORD style )
return;
}
+ if (GetWindowLongW( hwnd, GWL_EXSTYLE ) & WS_EX_RIGHT)
+ wFormat = DT_RIGHT | (wFormat & ~(DT_LEFT | DT_CENTER));
+
if (style & SS_NOPREFIX)
wFormat |= DT_NOPREFIX;