wxWidgets/samples/image
Vadim Zeitlin f6b4a1b98d Don't use wxWindow::ClearBackground() in the image sample and explain why.
Painting on both wxPaintDC and wxClientDC simultaneously doesn't work well,
e.g. under Windows the client DC can be actually erased after we finished
painting the window contents, overwriting it.

Simply use wxDC::Clear() instead of wxWindow::ClearBackground() to avoid this
and document the danger of using ClearBackground() from EVT_PAINT handler.

Closes #10700.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-10 21:02:30 +00:00
..
canvas.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
canvas.h no real change; just reorganize the sample splitting it in two source files 2009-01-14 17:41:21 +00:00
cmyk.jpg added support for CMYK JPEGs loading (patch 1476078) 2006-05-28 20:08:39 +00:00
descrip.mms Update compile support for OpenVMS 2009-01-19 06:20:52 +00:00
horse3.ani merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
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 Small correction to list ctrl and default button size. 1999-05-28 10:30:57 +00:00
horse.cur added cur and ico formats to the sample 2002-02-02 23:16:09 +00:00
horse.gif Added a bit of libJPEG 6.0b 1999-04-17 17:54:07 +00:00
horse.ico added cur and ico formats to the sample 2002-02-02 23:16:09 +00:00
horse.jpg Added a bit of libJPEG 6.0b 1999-04-17 17:54:07 +00:00
horse.pcx *** empty log message *** 1999-08-29 20:00:09 +00:00
horse.png Removed usage of GdkImlib 1998-10-24 17:12:05 +00:00
horse.pnm PNM horse 1999-08-29 19:55:41 +00:00
horse.tga added TGA handler (somewhat modified patch 1393912) 2006-10-29 18:58:25 +00:00
horse.tif Made db.h compile (removed this wxODBC_ONLY_FARWRD_XXXXXX), 1999-11-30 18:42:35 +00:00
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 Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
image_vc8.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
image_vc9.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
image.bkl add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
image.cpp Don't use wxWindow::ClearBackground() in the image sample and explain why. 2010-05-10 21:02:30 +00:00
image.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
image.rc More SC++ fixes; HelpGen starting to compile with VC++; image sample now compiles/runs 1999-01-09 20:18:06 +00:00
image.rco os2 update to rc file 2002-10-11 15:56:35 +00:00
makefile.bcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.gcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
Makefile.in Rebake. 2010-01-09 19:56:18 +00:00
makefile.unx Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
makefile.vc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.wat Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makemac6.mcp corrected mac src due to new api changes 2001-08-06 15:57:14 +00:00
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 added test image for alpha 2003-04-13 13:44:35 +00:00