]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed WS_BORDER style since borders have suddenly appeared around several
authorJulian Smart <julian@anthemion.co.uk>
Tue, 20 Oct 1998 11:39:43 +0000 (11:39 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 20 Oct 1998 11:39:43 +0000 (11:39 +0000)
controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/checkbox.cpp
src/msw/radiobox.cpp
src/msw/radiobut.cpp

index fb0b511b6d691eeb84f2bae38249a9affae21222..7cc14b9f10e2e0ea1f8ffdb34f21cc51e6eee462 100644 (file)
@@ -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,
index d4ea423c083117bbfb6a603942021140a90f17d0..fee27add5987da9a3414da5c289a81d15d8180c6 100644 (file)
@@ -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() ;
index a9957ebc0524443173928d348753f3835b5ebc55..32cf7fe87e06a12de779e0579356161ac4a58a16 100644 (file)
@@ -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,