wxWidgets/tests/graphics
Vadim Zeitlin 7382e99bbb Create bitmaps even when given a wxDC without an HDC in wxMSW
It seems wrong to just fail to create the bitmap entirely if a not
wxMSWDCImpl-derived wxDC is provided to wxBitmap::Create(size, wxDC)
overload, especially because no check is done to see if the associated
HDC is non-null for wxMSWDCImpl-derived classes.

Instead, simply create a DIB-based bitmap with the specified size, as
this seems more useful and less surprising and was already the behaviour
in the other ports.

Add a test ensuring that this remains the case in the future.
2022-04-10 19:43:29 +01:00
..
affinematrix.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
bitmap.cpp Create bitmaps even when given a wxDC without an HDC in wxMSW 2022-04-10 19:43:29 +01:00
bmpbundle.cpp Restore the old default size of Tango art provider bitmaps 2022-03-22 23:01:40 +01:00
boundingbox.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
clippingbox.cpp Add tests of clipping regions with wxDC with RTL layout enabled 2021-11-28 17:05:34 +01:00
colour.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
coords.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
ellipsization.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
graphbitmap.cpp Disable Direct2D checks failing under Wine 2021-08-24 17:12:05 +02:00
graphmatrix.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
graphpath.cpp Disable Direct2D checks failing under Wine 2021-08-24 17:12:05 +02:00
imagelist.cpp Revert "Assure that all images in the generic wxImageList have the same scale factor" 2022-03-22 23:01:40 +01:00
measuring.cpp Use function, not class, in GetTextExtent() unit tests 2022-03-29 14:11:14 +01:00