Since this code is shared by a couple of functions, and is critical that the code is the same for both functions, I place all the code here. */
| 571 | is the same for both functions, I place all the code here. |
| 572 | */ |
| 573 | void CEditorView::KillChildViews() { |
| 574 | if (m_grwndCreated) { |
| 575 | if (theApp.wireframe_view) |
| 576 | m_grwndWireframe.DestroyWindow(); |
| 577 | if (theApp.textured_view) |
| 578 | m_grwndTexture.DestroyWindow(); |
| 579 | m_grwndCreated = FALSE; |
| 580 | } |
| 581 | } |
| 582 | |
| 583 | void CEditorView::CreateChildViews() { |
| 584 | RECT view_rect, wire_rect, texture_rect; |
nothing calls this directly
no test coverage detected