Removed some commented-out code
Added border improvements to changes.txt git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -122,6 +122,8 @@ wxMSW:
|
||||
to ship .exe.manifest file with applications to support XP themes
|
||||
- wxLocale::Init no longer reports error if trying to set Unicode-only locale
|
||||
or if user's default locale is Unicode-only
|
||||
- Improved border handling so it no longer shows a thin and
|
||||
sunken border under XP
|
||||
|
||||
wxMotif:
|
||||
|
||||
|
@@ -104,11 +104,6 @@ bool wxGauge95::Create(wxWindow *parent, wxWindowID id,
|
||||
WXDWORD exStyle = 0;
|
||||
long msFlags = MSWGetStyle(style, & exStyle) ;
|
||||
|
||||
/*
|
||||
if ( m_windowStyle & wxCLIP_SIBLINGS )
|
||||
msFlags |= WS_CLIPSIBLINGS;
|
||||
*/
|
||||
|
||||
if (m_windowStyle & wxGA_VERTICAL)
|
||||
msFlags |= PBS_VERTICAL;
|
||||
|
||||
|
@@ -85,11 +85,6 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
|
||||
WXDWORD exStyle = 0;
|
||||
WXDWORD wstyle = MSWGetStyle(style, & exStyle) ;
|
||||
|
||||
/*
|
||||
if ( m_windowStyle & wxCLIP_SIBLINGS )
|
||||
wstyle |= WS_CLIPSIBLINGS;
|
||||
*/
|
||||
|
||||
// Now create scrollbar
|
||||
DWORD _direction = (style & wxHORIZONTAL) ?
|
||||
SBS_HORZ: SBS_VERT;
|
||||
|
@@ -50,6 +50,9 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
|
||||
style |= wxBORDER_NONE;
|
||||
|
||||
SetName(name);
|
||||
#if wxUSE_VALIDATORS
|
||||
SetValidator(validator);
|
||||
@@ -80,7 +83,6 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
long msStyle = SS_CENTER;
|
||||
|
||||
// WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D) ;
|
||||
WXDWORD exStyle = 0;
|
||||
msStyle |= MSWGetStyle(GetWindowStyle(), & exStyle) ;
|
||||
|
||||
|
@@ -90,11 +90,6 @@ bool wxToggleButton::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
|
||||
|
||||
/*
|
||||
if ( m_windowStyle & wxCLIP_SIBLINGS )
|
||||
msStyle |= WS_CLIPSIBLINGS;
|
||||
*/
|
||||
|
||||
#ifdef __WIN32__
|
||||
if(m_windowStyle & wxBU_LEFT)
|
||||
msStyle |= BS_LEFT;
|
||||
|
Reference in New Issue
Block a user