Removed WS_BORDER style since borders have suddenly appeared around several
controls. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
19ae5cf071
commit
2faefb26a4
@ -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,
|
||||
|
@ -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() ;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user