comparison dwt/widgets/Table.d @ 217:8efa9bb96c53

added overrides and reverted OS.CallWindowProc
author Frank Benoit <benoit@tionex.de>
date Sun, 18 May 2008 19:54:28 +0200
parents a8fed3e56433
children e2affbeb686d
comparison
equal deleted inserted replaced
216:48de87adead1 217:8efa9bb96c53
361 } 361 }
362 int /*long*/ code = 0; 362 int /*long*/ code = 0;
363 if (fixPaint) { 363 if (fixPaint) {
364 PAINTSTRUCT ps; 364 PAINTSTRUCT ps;
365 auto hDC = OS.BeginPaint (hwnd, &ps); 365 auto hDC = OS.BeginPaint (hwnd, &ps);
366 code = TableProc( hwnd, OS.WM_PAINT, cast(int)hDC, lParam); 366 code = OS.CallWindowProc (TableProc, hwnd, OS.WM_PAINT, cast(int)hDC, lParam);
367 OS.EndPaint (hwnd, &ps); 367 OS.EndPaint (hwnd, &ps);
368 } else { 368 } else {
369 code = TableProc( hwnd, msg, wParam, lParam); 369 code = OS.CallWindowProc (TableProc, hwnd, msg, wParam, lParam);
370 } 370 }
371 if (fixScroll) { 371 if (fixScroll) {
372 int flags = OS.RDW_FRAME | OS.RDW_INVALIDATE; 372 int flags = OS.RDW_FRAME | OS.RDW_INVALIDATE;
373 OS.RedrawWindow (handle, null, null, flags); 373 OS.RedrawWindow (handle, null, null, flags);
374 } 374 }