removing the IsWindow() test in ~wxWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-02-26 20:35:39 +00:00
parent 8355a72fa5
commit 98440bc354

View File

@ -274,7 +274,8 @@ wxWindow::~wxWindow()
if ( m_hWnd )
{
if (::IsWindow(GetHwnd()))
// VZ: test temp removed to understand what really happens here
//if (::IsWindow(GetHwnd()))
{
if ( !::DestroyWindow(GetHwnd()) )
wxLogLastError("DestroyWindow");