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:
@@ -274,7 +274,8 @@ wxWindow::~wxWindow()
|
|||||||
|
|
||||||
if ( m_hWnd )
|
if ( m_hWnd )
|
||||||
{
|
{
|
||||||
if (::IsWindow(GetHwnd()))
|
// VZ: test temp removed to understand what really happens here
|
||||||
|
//if (::IsWindow(GetHwnd()))
|
||||||
{
|
{
|
||||||
if ( !::DestroyWindow(GetHwnd()) )
|
if ( !::DestroyWindow(GetHwnd()) )
|
||||||
wxLogLastError("DestroyWindow");
|
wxLogLastError("DestroyWindow");
|
||||||
|
Reference in New Issue
Block a user