| 76 | } |
| 77 | |
| 78 | void Window::SetStyle( char style ) { |
| 79 | m_style = style; |
| 80 | |
| 81 | // Make sure dragging and resizing operations are cancelled. |
| 82 | m_dragging = false; |
| 83 | m_resizing = false; |
| 84 | |
| 85 | RequestResize(); |
| 86 | Invalidate(); |
| 87 | |
| 88 | if( GetChild() ) { |
| 89 | GetChild()->SetAllocation( GetClientRect() ); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | char Window::GetStyle() const { |
| 94 | return m_style; |