Small correction to radio box look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -318,7 +318,7 @@ wxSize wxRadioBox::LayoutItems()
|
|||||||
num_of_rows = m_majorDim;
|
num_of_rows = m_majorDim;
|
||||||
}
|
}
|
||||||
|
|
||||||
int lineheight = GetCharHeight();
|
int lineheight = GetCharHeight()+2;
|
||||||
|
|
||||||
if ( HasFlag(wxRA_SPECIFY_COLS) ||
|
if ( HasFlag(wxRA_SPECIFY_COLS) ||
|
||||||
(HasFlag(wxRA_SPECIFY_ROWS) && (num_of_cols > 1)) )
|
(HasFlag(wxRA_SPECIFY_ROWS) && (num_of_cols > 1)) )
|
||||||
|
@@ -318,7 +318,7 @@ wxSize wxRadioBox::LayoutItems()
|
|||||||
num_of_rows = m_majorDim;
|
num_of_rows = m_majorDim;
|
||||||
}
|
}
|
||||||
|
|
||||||
int lineheight = GetCharHeight();
|
int lineheight = GetCharHeight()+2;
|
||||||
|
|
||||||
if ( HasFlag(wxRA_SPECIFY_COLS) ||
|
if ( HasFlag(wxRA_SPECIFY_COLS) ||
|
||||||
(HasFlag(wxRA_SPECIFY_ROWS) && (num_of_cols > 1)) )
|
(HasFlag(wxRA_SPECIFY_ROWS) && (num_of_cols > 1)) )
|
||||||
|
Reference in New Issue
Block a user