diff --git a/src/aui/barartmsw.cpp b/src/aui/barartmsw.cpp index 9f541c45b2..68700ca832 100644 --- a/src/aui/barartmsw.cpp +++ b/src/aui/barartmsw.cpp @@ -257,7 +257,7 @@ void wxAuiMSWToolBarArt::DrawDropDownButton( int dropDownWidth = 14; int textWidth = 0, textHeight = 0, textX = 0, textY = 0; - int bmpX = 0, bmpY = 0, dropBmpX = 0, dropBmpY = 0; + int bmpX = 0, bmpY = 0; wxRect buttonRect = wxRect(rect.x, rect.y, @@ -313,14 +313,6 @@ void wxAuiMSWToolBarArt::DrawDropDownButton( &dropDownR, NULL); - dropBmpX = dropDownRect.x + - (dropDownRect.width / 2) - - (m_buttonDropDownBmp.GetWidth() / 2); - dropBmpY = dropDownRect.y + - (dropDownRect.height / 2) - - (m_buttonDropDownBmp.GetHeight() / 2); - - if ( m_textOrientation == wxAUI_TBTOOL_TEXT_BOTTOM ) { bmpX = buttonRect.x +