From 5b4c6454ec57bc39f2dbf5b98579c7358ac1abea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 9 Jun 2003 08:52:24 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 06fa0055d9..93ec5ec023 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -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);