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:
parent
8355a72fa5
commit
98440bc354
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user