Include XPM under wxX11 for some samples; added comment about

non-working images in dragimag sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-15 12:32:50 +00:00
parent eb90fb3ee8
commit e334d0eac8
5 changed files with 581 additions and 520 deletions

View File

@@ -614,6 +614,9 @@ bool wxBitmap::CreateFromImage( const wxImage& image, int depth )
GC gc = XCreateGC( xdisplay, (Pixmap) M_BMPDATA->m_pixmap, 0, NULL );
XPutImage( xdisplay, (Pixmap) M_BMPDATA->m_pixmap, gc, data_image, 0, 0, 0, 0, width, height );
#ifdef __WXDEBUG__
XSync(wxGlobalDisplay(), False);
#endif
XDestroyImage( data_image );
XFreeGC( xdisplay, gc );