]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Jun 2002 14:12:00 +0000 (14:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Jun 2002 14:12:00 +0000 (14:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp
src/gtk1/window.cpp

index 5835152aa8bbdf6d085154908c42c129d82dedf5..080f5bca5ebdce89cf70211cae7e3b94282cdbe4 100644 (file)
@@ -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
 //-----------------------------------------------------------------------------
index 5835152aa8bbdf6d085154908c42c129d82dedf5..080f5bca5ebdce89cf70211cae7e3b94282cdbe4 100644 (file)
@@ -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
 //-----------------------------------------------------------------------------