Cast this to wxWindow* for passing to destroyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -341,7 +341,7 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id,
|
||||
wxWindowX11::~wxWindowX11()
|
||||
{
|
||||
// Send destroy event
|
||||
wxWindowDestroyEvent destroyEvent(this);
|
||||
wxWindowDestroyEvent destroyEvent((wxWindow*) this);
|
||||
destroyEvent.SetId(GetId());
|
||||
GetEventHandler()->ProcessEvent(destroyEvent);
|
||||
|
||||
|
Reference in New Issue
Block a user