diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 5835152aa8..080f5bca5e 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2014,12 +2014,18 @@ wxWindow *wxWindowBase::FindFocus() // "destroy" event //----------------------------------------------------------------------------- +// VZ: Robert commented the code using out so it generates warnings: should +// be either fixed or removed completely +#if 0 + static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win ) { wxWindowDestroyEvent event(win); win->GetEventHandler()->ProcessEvent(event); } +#endif // 0 + //----------------------------------------------------------------------------- // "realize" from m_widget //----------------------------------------------------------------------------- diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 5835152aa8..080f5bca5e 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2014,12 +2014,18 @@ wxWindow *wxWindowBase::FindFocus() // "destroy" event //----------------------------------------------------------------------------- +// VZ: Robert commented the code using out so it generates warnings: should +// be either fixed or removed completely +#if 0 + static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win ) { wxWindowDestroyEvent event(win); win->GetEventHandler()->ProcessEvent(event); } +#endif // 0 + //----------------------------------------------------------------------------- // "realize" from m_widget //-----------------------------------------------------------------------------