compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-06-09 08:52:24 +00:00
parent cf519177cc
commit 5b4c6454ec

View File

@@ -564,7 +564,7 @@ void wxWindowMGL::Init()
wxWindowMGL::~wxWindowMGL()
{
// Send destroy event
wxWindowDestroyEvent destroyEvent(this);
wxWindowDestroyEvent destroyEvent((wxWindow*)this);
destroyEvent.SetId(GetId());
GetEventHandler()->ProcessEvent(destroyEvent);