Mercurial > dwindows
comparison mac/dw.m @ 941:18f194e1d71d
dw_window_redraw() should relayout the window in addition to flushing the buffer on Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 27 Apr 2011 11:29:21 +0000 |
parents | b5ae9cf15f68 |
children | 3c9dfb004df6 |
comparison
equal
deleted
inserted
replaced
940:b5ae9cf15f68 | 941:18f194e1d71d |
---|---|
7461 * handle: Toplevel window handle to be redrawn. | 7461 * handle: Toplevel window handle to be redrawn. |
7462 */ | 7462 */ |
7463 void API dw_window_redraw(HWND handle) | 7463 void API dw_window_redraw(HWND handle) |
7464 { | 7464 { |
7465 NSWindow *window = handle; | 7465 NSWindow *window = handle; |
7466 [[window contentView] showWindow]; | |
7466 [window flushWindow]; | 7467 [window flushWindow]; |
7467 } | 7468 } |
7468 | 7469 |
7469 /* | 7470 /* |
7470 * Makes the window topmost. | 7471 * Makes the window topmost. |