Vadim Zeitlin
6ec36a900c
Separate the requested and effective size of toolbar bitmaps
...
Add wxToolBarBase::DoSetToolBitmapSize() which does everything that
SetToolBitmapSize() used to do and make SetToolBitmapSize() itself also
remember the size passed to it in a new field, so that we could check
that we don't decrease the bitmap size below the size requested by the
application, while still being able to decrease it if necessary due to a
DPI change.
This allows SetToolBitmapSize() to continue working as before, i.e.
scale the bitmaps up if necessary without ever scaling them down, but
also allows them to resize in both directions when DPI changes.
Closes #22105 .
2022-02-10 00:12:14 +00:00
..
2020-01-23 21:13:11 +01:00
2022-02-07 19:28:55 -08:00
2022-02-06 15:59:22 +01:00
2022-02-06 15:59:22 +01:00
2021-01-16 13:50:29 +01:00
2021-10-18 11:50:10 +02:00
2020-06-27 22:56:22 +02:00
2022-01-22 22:44:00 +00:00
2021-10-18 11:50:10 +02:00
2019-04-05 11:08:53 -07: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-05 11:08:53 -07:00
2019-07-16 20:19:33 +02:00
2020-07-17 17:52:16 +02:00
2021-07-24 19:17:59 +02:00
2020-07-17 17:52:16 +02:00
2021-04-18 01:14:36 +01:00
2020-11-29 20:42:26 +01:00
2020-07-02 16:03:32 +02:00
2020-07-12 17:53:10 +02:00
2022-02-04 17:12:40 +01:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2021-03-20 22:09:31 +01:00
2019-04-05 11:08:53 -07:00
2019-10-02 20:40:51 +02:00
2019-10-27 01:44:29 +02:00
2020-07-17 17:52:16 +02:00
2020-07-17 17:52:16 +02:00
2019-10-08 06:32:44 +02:00
2016-12-11 15:20:42 +01:00
2019-10-21 21:14:54 +02:00
2019-04-22 14:12:05 +02:00
2021-11-26 22:26:49 +01:00
2020-07-14 20:10:46 +02:00
2019-04-05 11:08:53 -07:00
2020-12-31 18:51:46 +01:00
2021-10-03 17:07:44 +02:00
2020-07-17 17:52:16 +02:00
2020-07-18 23:51:05 +02:00
2020-12-05 23:39:17 +01:00
2020-07-17 17:52:16 +02:00
2022-02-04 15:45:49 +03:00
2022-02-05 20:39:19 +01:00
2020-07-20 08:12:02 -07: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-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-04-05 11:08:53 -07:00
2019-11-05 19:20:51 +01:00
2020-07-17 17:52:16 +02:00
2020-09-21 18:01:37 +02:00
2020-07-17 17:52:16 +02:00
2018-10-24 19:30:41 +02:00
2022-02-07 22:49:33 +01:00
2020-07-17 17:52:16 +02:00
2019-04-05 11:08:53 -07:00
2022-02-04 02:16:06 +01:00
2021-04-04 14:21:27 +02:00
2021-10-26 00:11:57 +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-01-16 18:30:55 +01:00
2021-08-23 14:19:11 +02:00
2021-08-20 17:00:01 +01:00
2022-01-27 14:29:25 +01:00
2019-04-05 11:08:53 -07:00
2022-02-10 00:12:14 +00:00
2022-02-06 15:59:22 +01:00
2021-11-03 11:19:08 +01:00
2021-04-04 17:04:18 +02:00