git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
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
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;
}