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:
@@ -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
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -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
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user