diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index fb0b511b6d..7cc14b9f10 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -83,8 +83,10 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, // Even with extended styles, need to combine with WS_BORDER // for them to look right. +/* if ( want3D || wxStyleHasBorder(m_windowStyle) ) msStyle |= WS_BORDER; +*/ m_hWnd = (WXHWND)CreateWindowEx(exStyle, "BUTTON", Label, msStyle, diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index d4ea423c08..fee27add59 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -125,8 +125,10 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, WXDWORD exStyle = Determine3DEffects(0, &want3D) ; // Even with extended styles, need to combine with WS_BORDER // for them to look right. +/* if ( want3D || wxStyleHasBorder(m_windowStyle) ) msStyle |= WS_BORDER; +*/ HWND the_handle = (HWND) parent->GetHWND() ; diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index a9957ebc05..32cf7fe87e 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -72,8 +72,10 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, // Even with extended styles, need to combine with WS_BORDER // for them to look right. +/* if ( want3D || wxStyleHasBorder(m_windowStyle) ) msStyle |= WS_BORDER; +*/ m_hWnd = (WXHWND) CreateWindowEx(exStyle, RADIO_CLASS, (const char *)label, msStyle,0,0,0,0,