| 2029 | // ---------------------------------------------------------------------------------------- |
| 2030 | |
| 2031 | void base_window:: |
| 2032 | invalidate_rectangle ( |
| 2033 | const rectangle& rect |
| 2034 | ) |
| 2035 | { |
| 2036 | auto_mutex M(wm); |
| 2037 | if (rect.is_empty() == false && !has_been_destroyed) |
| 2038 | { |
| 2039 | RECT info; |
| 2040 | info.top = rect.top(); |
| 2041 | info.left = rect.left(); |
| 2042 | info.right = rect.right()+1; |
| 2043 | info.bottom = rect.bottom()+1; |
| 2044 | |
| 2045 | InvalidateRect(hwnd,&info,FALSE); |
| 2046 | } |
| 2047 | } |
| 2048 | |
| 2049 | // ---------------------------------------------------------------------------------------- |
| 2050 | |