X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21e0a4d5f15ea1df40d29359fc1e84085936ef3f..89c831801467203372b6964a785823f19e8063dd:/src/os2/radiobox.cpp?ds=sidebyside diff --git a/src/os2/radiobox.cpp b/src/os2/radiobox.cpp index 9eb243c8fc..67d6434a32 100644 --- a/src/os2/radiobox.cpp +++ b/src/os2/radiobox.cpp @@ -290,7 +290,7 @@ bool wxRadioBox::Create( m_nSelectedButton = -1; m_nNoItems = 0; - SetMajorDim(majorDim == 0 ? n : majorDim, lStyle); + SetMajorDim(nMajorDim == 0 ? nNum : nMajorDim, lStyle); m_nNoRowsOrCols = nMajorDim; //