#include "wx/module.h"
#endif // WX_PRECOMP
-extern "C"
-{
-#include "gtk/gtk.h"
-#include "gdk/gdk.h"
-#include "gdk/gdkx.h"
-}
+#include <gtk/gtk.h>
+#include <gdk/gdkx.h>
#include "wx/gtk/win_gtk.h"
-#include "wx/gtk/private.h"
#if WXWIN_COMPATIBILITY_2_8
static gboolean
gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_event, wxGLCanvas *win )
{
- // don't need to install idle handler, its done from "event" signal
-
win->m_exposed = true;
win->GetUpdateRegion().Union( gdk_event->area.x,
static void
gtk_glcanvas_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* alloc, wxGLCanvas *win )
{
- if (g_isIdle)
- wxapp_install_idle_handler();
-
if (!win->m_hasVMT)
return;