X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9830033051ecd1f265326be9d48240dfebe9fcb3..a0378c28b877a68d8ef9991ce4b1433b2560d928:/src/motif/radiobox.cpp diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 83cb28543e..6845b047db 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -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));