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:
@@ -121,7 +121,9 @@ wxMSW:
|
||||
- Windows XP manifest is now included in wx.rc; it is no longer neccessary
|
||||
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
|
||||
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);
|
||||
@@ -77,10 +80,9 @@ bool wxSliderMSW::Create(wxWindow *parent, wxWindowID id,
|
||||
int height = size.y;
|
||||
|
||||
// non-Win95 implementation
|
||||
|
||||
|
||||
long msStyle = SS_CENTER;
|
||||
|
||||
// WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D) ;
|
||||
WXDWORD exStyle = 0;
|
||||
msStyle |= MSWGetStyle(GetWindowStyle(), & exStyle) ;
|
||||
|
||||
|
@@ -87,13 +87,8 @@ bool wxToggleButton::Create(wxWindow *parent, wxWindowID id,
|
||||
|
||||
WXDWORD exStyle = 0;
|
||||
long msStyle = MSWGetStyle(style, & exStyle) ;
|
||||
|
||||
msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
|
||||
|
||||
/*
|
||||
if ( m_windowStyle & wxCLIP_SIBLINGS )
|
||||
msStyle |= WS_CLIPSIBLINGS;
|
||||
*/
|
||||
msStyle |= BS_AUTOCHECKBOX | BS_PUSHLIKE | WS_TABSTOP ;
|
||||
|
||||
#ifdef __WIN32__
|
||||
if(m_windowStyle & wxBU_LEFT)
|
||||
|
Reference in New Issue
Block a user