Pass size to wxToolbar::SetToolBitmapSize() given in logical pixels
Previously the size was given DIPs but now logical pixels are used.
This commit is contained in:
parent
ad6bb3a10a
commit
ff7476fcd0
1 changed files with 1 additions and 1 deletions
|
|
@ -1670,7 +1670,7 @@ void wxPropertyGridManager::RecreateControls()
|
|||
wxDefaultPosition,
|
||||
wxDefaultSize,
|
||||
toolBarFlags);
|
||||
m_pToolbar->SetToolBitmapSize(wxSize(16, 15));
|
||||
m_pToolbar->SetToolBitmapSize(FromDIP(wxSize(16, 16)));
|
||||
|
||||
#if defined(__WXMSW__)
|
||||
// Eliminate toolbar flicker on XP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue