summaryrefslogtreecommitdiffstats
path: root/source/cWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cWindow.cpp')
-rw-r--r--source/cWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cWindow.cpp b/source/cWindow.cpp
index 3555c9c96..68c8d4142 100644
--- a/source/cWindow.cpp
+++ b/source/cWindow.cpp
@@ -224,9 +224,9 @@ void cWindow::OwnerDestroyed()
m_Owner = 0;
while( m_OpenedBy.size() > 1 )
{
- (*m_OpenedBy.begin() )->CloseWindow();
+ (*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
- (*m_OpenedBy.begin() )->CloseWindow();
+ (*m_OpenedBy.begin() )->CloseWindow((char)GetWindowType());
}
void cWindow::Destroy()