X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9830033051ecd1f265326be9d48240dfebe9fcb3..f42b1601d6a55f3c2b7e7c22894727bda70d8505:/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));