Unused variable removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -795,7 +795,6 @@ void wxComboCtrlBase::CalculateAreas( int btnWidth )
|
|||||||
{
|
{
|
||||||
wxSize sz = GetClientSize();
|
wxSize sz = GetClientSize();
|
||||||
int customBorder = m_widthCustomBorder;
|
int customBorder = m_widthCustomBorder;
|
||||||
bool buttonOutside;
|
|
||||||
int btnBorder; // border for button only
|
int btnBorder; // border for button only
|
||||||
|
|
||||||
// check if button should really be outside the border: we'll do it it if
|
// check if button should really be outside the border: we'll do it it if
|
||||||
@@ -806,13 +805,11 @@ void wxComboCtrlBase::CalculateAreas( int btnWidth )
|
|||||||
m_btnSpacingX == 0 &&
|
m_btnSpacingX == 0 &&
|
||||||
m_btnHei == 0 )
|
m_btnHei == 0 )
|
||||||
{
|
{
|
||||||
buttonOutside = true;
|
|
||||||
m_iFlags |= wxCC_IFLAG_BUTTON_OUTSIDE;
|
m_iFlags |= wxCC_IFLAG_BUTTON_OUTSIDE;
|
||||||
btnBorder = 0;
|
btnBorder = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
buttonOutside = false;
|
|
||||||
m_iFlags &= ~(wxCC_IFLAG_BUTTON_OUTSIDE);
|
m_iFlags &= ~(wxCC_IFLAG_BUTTON_OUTSIDE);
|
||||||
btnBorder = customBorder;
|
btnBorder = customBorder;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user