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:
parent
0187ddb4a8
commit
0d2bf8bf45
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user