From 0d2bf8bf458752a18bf6227d65b95cbfe28906d5 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 6 Oct 2003 15:59:54 +0000 Subject: [PATCH] Fixed bitmap problem reported last week. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dcclient.cpp | 5 +++-- src/gtk1/dcclient.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 92ae53ff9d..06455771d9 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -104,8 +104,9 @@ void gdk_wx_draw_bitmap(GdkDrawable *drawable, g_return_if_fail (gc != NULL); #ifdef __WXGTK20__ - if (GDK_WINDOW_DESTROYED(drawable) || GDK_WINDOW_DESTROYED(src)) - return; + // This doesn't seem to exist for bitmaps (1-bit) + // if (GDK_WINDOW_DESTROYED(drawable) || GDK_WINDOW_DESTROYED(src)) + // return; gdk_drawable_get_size(src, &src_width, &src_height); #else diff --git a/src/gtk1/dcclient.cpp b/src/gtk1/dcclient.cpp index 92ae53ff9d..06455771d9 100644 --- a/src/gtk1/dcclient.cpp +++ b/src/gtk1/dcclient.cpp @@ -104,8 +104,9 @@ void gdk_wx_draw_bitmap(GdkDrawable *drawable, g_return_if_fail (gc != NULL); #ifdef __WXGTK20__ - if (GDK_WINDOW_DESTROYED(drawable) || GDK_WINDOW_DESTROYED(src)) - return; + // This doesn't seem to exist for bitmaps (1-bit) + // if (GDK_WINDOW_DESTROYED(drawable) || GDK_WINDOW_DESTROYED(src)) + // return; gdk_drawable_get_size(src, &src_width, &src_height); #else