- 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:
WXDWORD exStyle = 0;
long msFlags = MSWGetStyle(style, & exStyle) ;
-/*
- if ( m_windowStyle & wxCLIP_SIBLINGS )
- msFlags |= WS_CLIPSIBLINGS;
-*/
-
if (m_windowStyle & wxGA_VERTICAL)
msFlags |= PBS_VERTICAL;
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;
const wxValidator& validator,
const wxString& name)
{
+ if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
+ style |= wxBORDER_NONE;
+
SetName(name);
#if wxUSE_VALIDATORS
SetValidator(validator);
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) ;
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)