X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83624f79609f0d5e240c1f7d77d044bfff9702fc..69e15b78afa1f5052457456a8849e65ba3d1a0f4:/src/gtk/dcscreen.cpp?ds=sidebyside diff --git a/src/gtk/dcscreen.cpp b/src/gtk/dcscreen.cpp index b7a89b9b83..96491de8ad 100644 --- a/src/gtk/dcscreen.cpp +++ b/src/gtk/dcscreen.cpp @@ -126,7 +126,7 @@ gdk_window_transparent_new ( GdkWindow *parent, 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; @@ -215,7 +215,7 @@ gdk_window_transparent_new ( GdkWindow *parent, 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; @@ -329,7 +329,7 @@ bool wxScreenDC::StartDrawingOnTop( wxRect *rect ) if (sm_overlayWindow) gdk_window_show( sm_overlayWindow ); - return (sm_overlayWindow); + return (sm_overlayWindow != NULL); } bool wxScreenDC::EndDrawingOnTop(void)