5ed0415e3e
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 |
||
---|---|---|
.. | ||
canvas.cpp | ||
canvas.h | ||
cmyk.jpg | ||
cursor.png | ||
descrip.mms | ||
horse3.ani | ||
horse_ag.pnm | ||
horse_rg.pnm | ||
horse.bmp | ||
horse.cur | ||
horse.gif | ||
horse.ico | ||
horse.jpg | ||
horse.pcx | ||
horse.png | ||
horse.pnm | ||
horse.tga | ||
horse.tif | ||
horse.xpm | ||
image_vc7.vcproj | ||
image_vc8.vcproj | ||
image_vc9.vcproj | ||
image.bkl | ||
image.cpp | ||
image.dsp | ||
makefile.bcc | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
makefile.wat | ||
makemac6.mcp | ||
smile.xbm | ||
smile.xpm | ||
toucan.png |