#include "wx/dcscreen.h"
#include "wx/window.h"
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
//-----------------------------------------------------------------------------
// global data initialization
//-----------------------------------------------------------------------------
gprivate->window_type = attributes->window_type;
gprivate->extension_events = FALSE;
-#ifndef NEW_GTK_DND_CODE
+#if (GTK_MINOR_VERSION == 0)
gprivate->dnd_drag_data_type = None;
gprivate->dnd_drag_data_typesavail =
gprivate->dnd_drop_data_typesavail = NULL;
if (attributes_mask & GDK_WA_TITLE)
title = attributes->title;
else
-#if (GTK_MINOR_VERSION == 1)
+#if (GTK_MINOR_VERSION > 0)
title = "Unknown"; // GLH: Well I don't know for the moment what to write here.
#else
title = gdk_progname;
if (sm_overlayWindow) gdk_window_show( sm_overlayWindow );
- return (sm_overlayWindow);
+ return (sm_overlayWindow != NULL);
}
bool wxScreenDC::EndDrawingOnTop(void)