From c39d4bcf2bfd63337b94be3c11c3e3d4fbedf1ec Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 8 Oct 1998 14:57:39 +0000 Subject: [PATCH] change the last changes back git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/radiobox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 4808659652..82ecdf8600 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -435,7 +435,7 @@ void wxRadioBox::SetSize(int x, int y, int width, int height, int sizeFlags) int nbHor,nbVer; - if (m_windowStyle & wxRA_HORIZONTAL) + if (m_windowStyle & wxRA_VERTICAL) { nbVer = m_majorDim ; nbHor = (m_noItems+m_majorDim-1)/m_majorDim ; @@ -509,7 +509,7 @@ void wxRadioBox::SetSize(int x, int y, int width, int height, int sizeFlags) } MoveWindow((HWND) m_radioButtons[i],x_offset,y_offset,eachWidth,eachHeight,TRUE); - if (m_windowStyle & wxRA_HORIZONTAL) + if (m_windowStyle & wxRA_VERTICAL) { y_offset += maxHeight; if (m_radioWidth[0]>0)