Document that FromDIP() is not needed with SetToolBitmapSize()

wxMSW wxToolBar adjusts the bitmap size to DPI automatically.
This commit is contained in:
Vadim Zeitlin
2021-09-27 18:57:12 +01:00
parent 24df75a27f
commit 15e35a5e7c
2 changed files with 8 additions and 0 deletions

View File

@@ -860,6 +860,11 @@ public:
Sets the default size of each tool bitmap. The default bitmap size is 16
by 15 pixels.
Note that @a size does @e not need to be multiplied by the
DPI-dependent factor even under MSW, where it would normally be
necessary, as the toolbar adjusts this size to the current DPI
automatically.
@param size
The size of the bitmaps in the toolbar.