if (g_isIdle)
wxapp_install_idle_handler();
- if (!win->m_hasVMT)
+ if (!win->m_hasVMT || !win->IsShown())
return FALSE;
int x = 0;
{
GtkPizza *pizza = GTK_PIZZA(widget);
- gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL,
- GTK_SHADOW_NONE, &gdk_event->area, win->m_widget, "base", 0, 0, -1, -1);
+ gtk_paint_flat_box (win->m_widget->style,
+ pizza->bin_window, GTK_STATE_NORMAL,
+ GTK_SHADOW_NONE,
+ &gdk_event->area,
+ win->m_widget,
+ (char *)"base",
+ 0, 0, -1, -1);
return TRUE;
}
{
GtkPizza *pizza = GTK_PIZZA(widget);
- gtk_paint_flat_box (win->m_widget->style, pizza->bin_window, GTK_STATE_NORMAL,
- GTK_SHADOW_NONE, rect, win->m_widget, "base", 0, 0, -1, -1);
+ gtk_paint_flat_box (win->m_widget->style,
+ pizza->bin_window, GTK_STATE_NORMAL,
+ GTK_SHADOW_NONE,
+ rect,
+ win->m_widget,
+ (char *)"base",
+ 0, 0, -1, -1);
}
// ----------------------------------------------------------------------------