Fix calc.exe redraw problems on XP. Patch by Christoph_vW <Christoph@ApiViewer.de>

svn path=/trunk/; revision=18111
This commit is contained in:
Alex Ionescu 2005-09-26 21:49:03 +00:00
parent e4dc1dc22d
commit ba942bb6e5

View file

@ -194,7 +194,7 @@ int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmd
hWnd = CreateWindow( appname,
appname,
WS_OVERLAPPEDWINDOW & ~WS_THICKFRAME & ~WS_MAXIMIZEBOX,
WS_CLIPSIBLINGS | (WS_OVERLAPPEDWINDOW & ~WS_THICKFRAME & ~WS_MAXIMIZEBOX),
CW_USEDEFAULT,
CW_USEDEFAULT,
calc.sciMode ? CALC_STANDARD_WIDTH : CALC_SCIENTIFIC_WIDTH,