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:
@@ -319,7 +319,7 @@ void wxBitmapComboBox::DetermineIndent()
|
|||||||
|
|
||||||
if ( m_usedImgSize.x > 0 )
|
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;
|
m_imgAreaWidth = indent;
|
||||||
|
|
||||||
indent -= 3;
|
indent -= 3;
|
||||||
|
Reference in New Issue
Block a user