Inserted an else that seemed to be missing. (My RadioBox crashed

without it...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1998-07-16 06:47:27 +00:00
parent e49f47aa77
commit 1eb20d4a08

View File

@@ -116,7 +116,8 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title,
m_noRowsOrCols = majorDim;
if (majorDim==0)
m_majorDim = n ;
m_majorDim = majorDim ;
else // Seemed to make sense to put this 'else' here... (RD)
m_majorDim = majorDim ;
long msStyle = GROUP_FLAGS;