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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user