wxWidgets/samples/image
Vadim Zeitlin 5ed0415e3e Don't use bitmap still selected in wxMemoryDC in image sample.
The bitmap must be deselected from wxMemoryDC before being used in any other
way but the sample didn't do this. Fix this by simply destroying the DC as
soon as we don't need it, this makes bitmap available for other use as well.

Closes #12310.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-10 18:57:47 +00:00
..
canvas.cpp Don't use bitmap still selected in wxMemoryDC in image sample. 2010-08-10 18:57:47 +00:00
canvas.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
cmyk.jpg added support for CMYK JPEGs loading (patch 1476078) 2006-05-28 20:08:39 +00:00
cursor.png Add test for a custom cursor to the image sample. 2010-07-24 11:49:05 +00:00
descrip.mms Update compile support for OpenVMS 2009-01-19 06:20:52 +00:00
horse3.ani
horse_ag.pnm Applied patch [ 1183803 ] PNM: support for ascii grey + raw grey 2005-05-22 15:37:40 +00:00
horse_rg.pnm Applied patch [ 1183803 ] PNM: support for ascii grey + raw grey 2005-05-22 15:37:40 +00:00
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga added TGA handler (somewhat modified patch 1393912) 2006-10-29 18:58:25 +00:00
horse.tif
horse.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
image_vc7.vcproj Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
image_vc8.vcproj Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
image_vc9.vcproj Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
image.bkl Add test for a custom cursor to the image sample. 2010-07-24 11:49:05 +00:00
image.cpp Add test for a custom cursor to the image sample. 2010-07-24 11:49:05 +00:00
image.dsp Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
makefile.bcc Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
makefile.gcc Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
Makefile.in Add test for a custom cursor to the image sample. 2010-07-24 11:49:05 +00:00
makefile.unx Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
makefile.vc Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
makefile.wat Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
makemac6.mcp
smile.xbm Artwork updates 2005-05-31 13:44:45 +00:00
smile.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
toucan.png