Notepad: fixed edit area window style

Evan Stade estade at gmail.com
Fri Jun 8 20:11:53 CDT 2007


Hi,

Changelog:
*changed Notepad's edit box window style to better match MS notepad appearance

 programs/notepad/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-Evan Stade
-------------- next part --------------
diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index c7b961f..e95ad9c 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -438,7 +438,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HW
     case WM_CREATE:
     {
         static const WCHAR editW[] = { 'e','d','i','t',0 };
-        DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL |
+        DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_VSCROLL |
                         ES_AUTOVSCROLL | ES_MULTILINE | ES_NOHIDESEL;
         RECT rc;
         GetClientRect(hWnd, &rc);
-- 
1.4.1


More information about the wine-patches mailing list