The return types for enter/leave-notify-event and focus-in/out-event handlers are gboolean, not gint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0050e023dc
commit
f3a5f83a66
@ -1835,9 +1835,9 @@ static bool DoSendFocusEvents(wxWindow *win)
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
static gint gtk_window_focus_in_callback( GtkWidget *widget,
|
||||
GdkEvent *WXUNUSED(event),
|
||||
wxWindow *win )
|
||||
static gboolean gtk_window_focus_in_callback( GtkWidget *widget,
|
||||
GdkEvent *WXUNUSED(event),
|
||||
wxWindow *win )
|
||||
{
|
||||
DEBUG_MAIN_THREAD
|
||||
|
||||
@ -1894,7 +1894,9 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget,
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
extern "C" {
|
||||
static gint gtk_window_focus_out_callback( GtkWidget *widget, GdkEventFocus *gdk_event, wxWindowGTK *win )
|
||||
static gboolean gtk_window_focus_out_callback( GtkWidget *widget,
|
||||
GdkEventFocus *gdk_event,
|
||||
wxWindowGTK *win )
|
||||
{
|
||||
DEBUG_MAIN_THREAD
|
||||
|
||||
@ -1958,10 +1960,10 @@ static gint gtk_window_focus_out_callback( GtkWidget *widget, GdkEventFocus *gdk
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
extern "C" {
|
||||
static
|
||||
gint gtk_window_enter_callback( GtkWidget *widget,
|
||||
GdkEventCrossing *gdk_event,
|
||||
wxWindowGTK *win )
|
||||
static gboolean
|
||||
gtk_window_enter_callback( GtkWidget *widget,
|
||||
GdkEventCrossing *gdk_event,
|
||||
wxWindowGTK *win )
|
||||
{
|
||||
DEBUG_MAIN_THREAD
|
||||
|
||||
@ -2003,7 +2005,10 @@ gint gtk_window_enter_callback( GtkWidget *widget,
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
extern "C" {
|
||||
static gint gtk_window_leave_callback( GtkWidget *widget, GdkEventCrossing *gdk_event, wxWindowGTK *win )
|
||||
static gboolean
|
||||
gtk_window_leave_callback( GtkWidget *widget,
|
||||
GdkEventCrossing *gdk_event,
|
||||
wxWindowGTK *win )
|
||||
{
|
||||
DEBUG_MAIN_THREAD
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user