From 54a6eb4deed7c8c2b39f2ca223e80a9fae533825 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 3 Apr 2003 10:29:07 +0000 Subject: [PATCH] Applied patch [ 713459 ] wxUniv/GTK compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 146a2d37ae..fbf3e2708e 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2736,7 +2736,7 @@ bool wxWindowGTK::Create( wxWindow *parent, wxWindowGTK::~wxWindowGTK() { // Send destroy event - wxWindowDestroyEvent destroyEvent(this); + wxWindowDestroyEvent destroyEvent((wxWindow*) this); destroyEvent.SetId(GetId()); GetEventHandler()->ProcessEvent(destroyEvent); diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 146a2d37ae..fbf3e2708e 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2736,7 +2736,7 @@ bool wxWindowGTK::Create( wxWindow *parent, wxWindowGTK::~wxWindowGTK() { // Send destroy event - wxWindowDestroyEvent destroyEvent(this); + wxWindowDestroyEvent destroyEvent((wxWindow*) this); destroyEvent.SetId(GetId()); GetEventHandler()->ProcessEvent(destroyEvent);