From 344ff08345eba81fcdcc55dd711ce6bc4bb747a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 29 May 2006 13:07:27 +0000 Subject: [PATCH] Unused variable removal. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/combocmn.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 356689bf70..a614127e2a 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -795,7 +795,6 @@ void wxComboCtrlBase::CalculateAreas( int btnWidth ) { wxSize sz = GetClientSize(); int customBorder = m_widthCustomBorder; - bool buttonOutside; int btnBorder; // border for button only // 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_btnHei == 0 ) { - buttonOutside = true; m_iFlags |= wxCC_IFLAG_BUTTON_OUTSIDE; btnBorder = 0; } else { - buttonOutside = false; m_iFlags &= ~(wxCC_IFLAG_BUTTON_OUTSIDE); btnBorder = customBorder; } -- 2.47.2