X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a73251a80d95efa37bf1fc7879b21a6aec57910d..a246ab8b5e30b09705b485b6021c0149c80becda:/src/gtk/nativewin.cpp?ds=inline diff --git a/src/gtk/nativewin.cpp b/src/gtk/nativewin.cpp index d95d98094d..91cb1ce613 100644 --- a/src/gtk/nativewin.cpp +++ b/src/gtk/nativewin.cpp @@ -125,6 +125,7 @@ void wxNativeContainerWindow::OnNativeDestroyed() // because it's a private GDK function and calling normal // gdk_window_destroy() results in X errors while nulling just the window // pointer and destroying m_widget results in many GTK errors + GTKDisconnect(m_widget); m_widget = NULL; // notice that we intentionally don't use Close() nor Delete() here as our