Pass size to wxToolbar::SetToolBitmapSize() given in logical pixels
Previously the size was given DIPs but now logical pixels are used. (cherry picked from commit ff7476fcd0f3fccad19b849511b73cbfd9a317bd)
This commit is contained in:
parent
c843096a69
commit
a2c6620907
@ -268,6 +268,7 @@ All (GUI):
|
||||
- Update wxOwnerDrawnComboBox best size when adding items (Reza Karimi, #23681).
|
||||
- Keep wxProgressDialog size when updating the message (Oleg Samarin, #23727).
|
||||
- Fix crash when deleting selected item in wxGenericListCtrl (#23729).
|
||||
- Use DIPs for toolbar image sizes in wxPropertyGrid.
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@ -1665,7 +1665,7 @@ void wxPropertyGridManager::RecreateControls()
|
||||
wxDefaultPosition,
|
||||
wxDefaultSize,
|
||||
toolBarFlags);
|
||||
m_pToolbar->SetToolBitmapSize(wxSize(16, 15));
|
||||
m_pToolbar->SetToolBitmapSize(FromDIP(wxSize(16, 15)));
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
// Eliminate toolbar flicker on XP
|
||||
|
Loading…
Reference in New Issue
Block a user