X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b827d64707b39ea779f32e216c3261ef1d861503..9ef101cd5548aacc4d921683d185b687cb7a6d35:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 3cf71d33d2..f49cf64931 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -106,7 +106,7 @@ void wxDisplaySizeMM( int *width, int *height ) void wxGetMousePosition( int* x, int* y ) { - gdk_window_get_pointer( (GdkWindow*) NULL, x, y, (GdkModifierType*) NULL ); + gdk_window_get_pointer( NULL, x, y, NULL ); } bool wxColourDisplay() @@ -135,7 +135,7 @@ void GTK_EndProcessDetector(gpointer data, gint source, GdkInputCondition WXUNUSED(condition) ) { wxEndProcessData * const - proc_data = wx_static_cast(wxEndProcessData *, data); + proc_data = static_cast(data); // child exited, end waiting close(source);