fixed unused function warning in GTK+ 2 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -591,6 +591,8 @@ static int gtk_window_expose_callback( GtkWidget *widget,
|
||||
// "event" of m_wxwindow
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
|
||||
// GTK thinks it is clever and filters out a certain amount of "unneeded"
|
||||
// expose events. We need them, of course, so we override the main event
|
||||
// procedure in GtkWidget by giving our own handler for all system events.
|
||||
@@ -613,6 +615,8 @@ gint gtk_window_event_event_callback( GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !GTK+ 2
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// "draw" of m_wxwindow
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user