]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
Allow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX...
[wxWidgets.git] / src / os2 / radiobox.cpp
index 9eb243c8fc11d7a808cbb0436ee80bc33e41cd9b..67d6434a3248ed3d4fc6c2c0c429adc68d971244 100644 (file)
@@ -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;
 
     //