wxwidgets/samples/toolbar
Alexander Koshelev b2629a97e5 Add wxBitmapBundle::GetPreferredLogicalSizeFor()
We often need the logical bitmap size when using it in size computations
involving window size, so add a function returning it directly to
wxBitmapBundle, similarly to wxBitmap::GetLogicalSize(), to avoid using
FromPhys() everywhere.

Also rename the existing wxBitmapBundle::GetPreferredSizeFor() to
GetPreferredBitmapSizeFor() to make it more clear that this is similar
to wxBitmap::GetSize() and so returns the size in physical units.

Closes #22056.
2022-01-27 14:29:25 +01:00
..
bitmaps Regenerate toolbar sample bitmaps in 32 and 64 pixel sizes 2021-09-21 23:45:09 +02:00
vector Regenerate toolbar sample bitmaps in 32 and 64 pixel sizes 2021-09-21 23:45:09 +02:00
makefile.gcc Link with ws2_32.lib rather than obsolete wsock32.lib 2021-04-18 22:13:45 +02:00
Makefile.in Rebake after the year change 2022-01-14 22:51:24 +01:00
makefile.unx Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.vc Use DPI aware manifests for MSVS 2022 too 2021-12-18 13:22:59 +01:00
toolbar.bkl Show how to use higher resolution toolbar bitmaps in high DPI 2021-09-15 21:15:19 +02:00
toolbar.cpp Add wxBitmapBundle::GetPreferredLogicalSizeFor() 2022-01-27 14:29:25 +01:00
toolbar.rc Set wxUSE_DPI_AWARE_MANIFEST=2 for all samples, not just toolbar 2021-10-20 16:19:41 +01:00
toolbar_vc8.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
toolbar_vc9.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00