fixed a warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-06-12 14:12:00 +00:00
parent b8723d939f
commit 1a685a59a0
2 changed files with 12 additions and 0 deletions

View File

@@ -2014,12 +2014,18 @@ wxWindow *wxWindowBase::FindFocus()
// "destroy" event // "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 ) static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win )
{ {
wxWindowDestroyEvent event(win); wxWindowDestroyEvent event(win);
win->GetEventHandler()->ProcessEvent(event); win->GetEventHandler()->ProcessEvent(event);
} }
#endif // 0
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// "realize" from m_widget // "realize" from m_widget
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@@ -2014,12 +2014,18 @@ wxWindow *wxWindowBase::FindFocus()
// "destroy" event // "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 ) static void gtk_window_destroy_callback( GtkWidget* widget, wxWindow *win )
{ {
wxWindowDestroyEvent event(win); wxWindowDestroyEvent event(win);
win->GetEventHandler()->ProcessEvent(event); win->GetEventHandler()->ProcessEvent(event);
} }
#endif // 0
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// "realize" from m_widget // "realize" from m_widget
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------