#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/frame.h"
+ #include "wx/colour.h"
+ #include "wx/module.h"
#endif // WX_PRECOMP
-#include "wx/frame.h"
-#include "wx/colour.h"
-#include "wx/module.h"
-
extern "C"
{
#include "gtk/gtk.h"
static void
gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_event, wxGLCanvas *win )
{
- if (g_isIdle)
- wxapp_install_idle_handler();
+ // don't need to install idle handler, its done from "event" signal
win->m_exposed = true;
gtk_widget_set_double_buffered( m_glWidget, FALSE );
- gtk_pizza_set_clear( GTK_PIZZA(m_wxwindow), FALSE );
-
g_signal_connect (m_wxwindow, "realize",
G_CALLBACK (gtk_glwindow_realized_callback),
this);