use correct bitmap dimension in DetermineIndent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
61574b34df
commit
676dd1dc30
@ -319,7 +319,7 @@ void wxBitmapComboBox::DetermineIndent()
|
||||
|
||||
if ( m_usedImgSize.x > 0 )
|
||||
{
|
||||
indent = m_usedImgSize.y + IMAGE_SPACING_LEFT + IMAGE_SPACING_RIGHT;
|
||||
indent = m_usedImgSize.x + IMAGE_SPACING_LEFT + IMAGE_SPACING_RIGHT;
|
||||
m_imgAreaWidth = indent;
|
||||
|
||||
indent -= 3;
|
||||
|
Loading…
Reference in New Issue
Block a user