Files
wxWidgets/src/qt
Graham Dawes db15e99884 Fix wxBitmap::GetRawData() in wxQt
This method used to return a dangling pointer to a temporary buffer,
which resulted in a crash when using it, e.g. in the unit test.

Fix this by keeping a QImage as a member in wxBitmapRefData, so that the
pointer to its data remain valid until UngetRawData() is called.

Also check that GetRawData() returns a non-null pointer in the test.

Closes https://github.com/wxWidgets/wxWidgets/pull/1067
2018-12-13 15:24:54 +01:00
..
2018-10-06 14:07:02 +02:00
2017-11-06 02:05:40 +01:00
2018-12-13 15:24:54 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2018-10-20 13:27:23 +02:00
2018-10-20 13:27:23 +02:00
2017-11-06 02:05:40 +01:00
2018-10-20 13:27:23 +02:00
2017-11-06 02:05:40 +01:00
2018-09-30 17:23:58 +02:00
2017-11-06 02:05:40 +01:00
2015-10-25 18:00:05 +01:00
2018-09-30 17:23:58 +02:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2018-11-20 05:51:29 -05:00
2017-11-06 02:05:40 +01:00
2017-11-06 02:05:40 +01:00
2015-10-25 18:00:05 +01:00
2017-11-06 02:05:40 +01:00
2018-09-30 17:23:58 +02:00