From: Vadim Zeitlin Date: Wed, 12 Jun 2002 14:12:00 +0000 (+0000) Subject: fixed a warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1a685a59a0330935609d201148ad1abf2724a07e fixed a warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 //-----------------------------------------------------------------------------