Fixed m_majorDim bug a bit more (was still getting divide by zero error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,7 +124,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
|
||||
Arg args[3];
|
||||
|
||||
majorDim = (n + m_majorDim - 1) / majorDim;
|
||||
m_majorDim = (n + m_majorDim - 1) / m_majorDim;
|
||||
|
||||
XtSetArg (args[0], XmNorientation, ((style & wxHORIZONTAL) == wxHORIZONTAL ?
|
||||
XmHORIZONTAL : XmVERTICAL));
|
||||
|
Reference in New Issue
Block a user