Files
wxWidgets/tests
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-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-09-19 22:01:17 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-01-29 00:48:56 +01:00
2018-11-25 21:29:38 +01:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2004-11-22 15:12:29 +00:00
2015-03-19 21:46:05 +01:00
2018-12-10 19:06:18 +01:00
2018-09-17 22:34:32 +02:00
2018-09-22 14:44:07 +02:00