Vadim Zeitlin
b9a1931394
Fix using MSW wxStaticBitmap with custom wxBitmapBundles
...
wxBitmapBundle-related changes introduced a bug when wxStaticBitmap
could be using an invalid handle (which manifested itself in not showing
any image on screen) if it was using wxBitmapBundle whose GetBitmap()
returned a wxBitmap that wasn't cached inside wxBitmapBundle itself.
In this case, this wxBitmap wasn't referenced anywhere after being
associated with wxStaticBitmap and so was destroyed, invalidating the
HBITMAP used by the native static control.
Fix this by keeping a copy of the bitmap in wxStaticBitmap itself. This
is not the most efficient, but is the simplest, solution.
2021-12-12 23:39:48 +00:00
..
2021-10-03 17:07:44 +02:00
2021-10-03 17:07:44 +02:00
2020-05-06 01:52:24 +02:00
2021-03-01 00:09:23 +01:00
2019-12-13 21:44:26 +01:00
2019-12-13 21:44:26 +01:00
2019-11-22 15:21:15 +01:00
2021-10-18 11:50:10 +02:00
2021-03-07 23:51:54 +01:00
2021-06-15 17:47:30 +02:00
2019-11-22 15:21:15 +01:00
2019-11-22 15:21:15 +01:00
2021-10-24 23:04:45 +02:00
2021-10-18 11:50:10 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2021-03-23 00:42:02 +01:00
2020-07-17 17:52:16 +02:00
2020-06-27 22:56:22 +02:00
2019-07-16 20:19:33 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2019-04-22 14:12:05 +02:00
2021-04-18 01:14:36 +01:00
2019-04-22 14:12:05 +02:00
2020-11-05 14:22:05 +01:00
2021-11-28 17:04:26 +01:00
2020-02-02 22:50:32 -08:00
2019-04-22 14:12:05 +02:00
2020-07-17 17:52:16 +02:00
2021-10-03 17:07:44 +02:00
2020-07-17 17:52:16 +02:00
2021-10-03 17:07:44 +02:00
2019-04-22 14:12:05 +02:00
2019-04-22 14:12:05 +02:00
2020-07-17 17:52:16 +02:00
2020-08-31 14:45:02 +02:00
2018-07-30 16:11:25 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-10-20 01:47:47 +02:00
2020-02-02 23:40:01 -08:00
2019-11-22 15:17:40 +01:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2019-11-22 15:21:15 +01:00
2020-10-19 20:07:16 +02:00
2021-10-20 15:23:52 +02:00
2020-10-14 20:11:58 +02:00
2019-10-02 00:54:14 +02:00
2020-07-17 17:52:16 +02:00
2021-12-09 18:17:48 +01:00
2020-07-17 17:52:16 +02:00
2021-02-05 12:04:25 +01:00
2020-07-20 08:12:02 -07:00
2019-03-18 18:11:42 +01:00
2020-06-27 22:56:22 +02:00
2020-07-17 17:52:16 +02:00
2019-08-24 22:30:11 +02:00
2020-07-17 17:52:16 +02:00
2019-05-18 08:40:03 +02:00
2020-11-19 15:44:54 +01:00
2021-10-31 20:54:58 +01:00
2021-01-27 23:46:35 +01:00
2021-06-24 14:49:08 +01:00
2020-07-17 17:52:16 +02:00
2021-02-22 00:04:07 +01:00
2020-08-14 13:15:49 +02:00
2021-07-13 23:39:03 +01:00
2020-06-27 22:56:22 +02:00
2020-07-17 17:52:16 +02:00
2020-09-21 18:01:37 +02:00
2019-11-22 15:17:40 +01:00
2021-03-13 15:14:58 +01:00
2021-03-09 21:09:42 +01:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-10-13 18:40:31 +02:00
2021-04-24 18:06:43 +01:00
2021-10-22 01:42:53 +02:00
2020-07-17 17:52:16 +02:00
2021-04-18 13:09:17 +02:00
2020-08-31 12:40:50 +02:00
2021-12-12 23:39:48 +00:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2019-04-22 14:12:05 +02:00
2019-07-12 00:11:53 +02:00
2019-11-18 19:14:38 +01:00
2021-08-23 14:19:11 +02:00
2021-07-24 12:41:49 +01:00
2020-07-17 17:52:16 +02:00
2019-04-22 14:12:05 +02:00
2021-10-05 15:49:43 +01:00
2020-07-17 17:52:16 +02:00
2021-11-07 21:46:42 +00:00
2021-10-03 17:07:44 +02:00
2021-11-03 11:19:07 +01:00
2021-02-05 22:18:31 +01:00
2020-01-16 10:15:11 +01:00
2021-07-24 21:18:45 +02:00
2020-04-13 16:41:33 +02:00
2019-04-22 14:12:05 +02:00
2019-04-22 14:12:05 +02:00
2021-05-19 18:51:30 +01:00
2019-12-13 21:44:26 +01:00
2019-12-13 21:44:26 +01:00
2019-11-22 15:21:15 +01:00
2020-12-23 17:03:10 +01:00