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:
Vadim Zeitlin 2006-11-17 16:45:39 +00:00
parent 61574b34df
commit 676dd1dc30

View File

@ -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;