git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2415
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
been realized, so we do this directly after realization */
static gint
been realized, so we do this directly after realization */
static gint
-gtk_window_realized_callback( GtkWidget *widget, wxWindow *win )
+gtk_window_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
{
if (g_isIdle)
wxapp_install_idle_handler();
{
if (g_isIdle)
wxapp_install_idle_handler();
static gint gs_pop_x = 0;
static gint gs_pop_y = 0;
static gint gs_pop_x = 0;
static gint gs_pop_y = 0;
-static void pop_pos_callback( GtkMenu *menu, gint *x, gint *y, wxWindow *win )
+static void pop_pos_callback( GtkMenu * WXUNUSED(menu),
+ gint *x, gint *y,
+ wxWindow *win )
{
win->ClientToScreen( &gs_pop_x, &gs_pop_y );
*x = gs_pop_x;
{
win->ClientToScreen( &gs_pop_x, &gs_pop_y );
*x = gs_pop_x;
been realized, so we do this directly after realization */
static gint
been realized, so we do this directly after realization */
static gint
-gtk_window_realized_callback( GtkWidget *widget, wxWindow *win )
+gtk_window_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win )
{
if (g_isIdle)
wxapp_install_idle_handler();
{
if (g_isIdle)
wxapp_install_idle_handler();
static gint gs_pop_x = 0;
static gint gs_pop_y = 0;
static gint gs_pop_x = 0;
static gint gs_pop_y = 0;
-static void pop_pos_callback( GtkMenu *menu, gint *x, gint *y, wxWindow *win )
+static void pop_pos_callback( GtkMenu * WXUNUSED(menu),
+ gint *x, gint *y,
+ wxWindow *win )
{
win->ClientToScreen( &gs_pop_x, &gs_pop_y );
*x = gs_pop_x;
{
win->ClientToScreen( &gs_pop_x, &gs_pop_y );
*x = gs_pop_x;