Fixed bitmap problem reported last week.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2003-10-06 15:59:54 +00:00
parent 0187ddb4a8
commit 0d2bf8bf45
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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