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
This commit is contained in:
Julian Smart
2003-04-03 10:29:07 +00:00
parent d8134e0bec
commit 54a6eb4dee
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);