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:
Vadim Zeitlin
2005-03-21 23:46:58 +00:00
parent 865bb3251e
commit 28fad9e402
2 changed files with 8 additions and 0 deletions

View File

@@ -591,6 +591,8 @@ static int gtk_window_expose_callback( GtkWidget *widget,
// "event" of m_wxwindow // "event" of m_wxwindow
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifndef __WXGTK20__
// GTK thinks it is clever and filters out a certain amount of "unneeded" // 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 // 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. // 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 // "draw" of m_wxwindow
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@@ -591,6 +591,8 @@ static int gtk_window_expose_callback( GtkWidget *widget,
// "event" of m_wxwindow // "event" of m_wxwindow
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifndef __WXGTK20__
// GTK thinks it is clever and filters out a certain amount of "unneeded" // 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 // 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. // 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 // "draw" of m_wxwindow
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------