Disconnect all GTK signals referencing a wx object which is being destructed
or which is destroying the associated GTK object git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -99,9 +99,6 @@ gtk_glcanvas_size_callback(GtkWidget *WXUNUSED(widget),
|
||||
GtkAllocation * WXUNUSED(alloc),
|
||||
wxGLCanvas *win)
|
||||
{
|
||||
if (!win->m_hasVMT)
|
||||
return;
|
||||
|
||||
wxSizeEvent event( wxSize(win->m_width,win->m_height), win->GetId() );
|
||||
event.SetEventObject( win );
|
||||
win->HandleWindowEvent( event );
|
||||
|
||||
Reference in New Issue
Block a user