Backported the window border improvements to 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -325,13 +325,8 @@ bool wxListCtrl::DoCreateControl(int x, int y, int w, int h)
|
||||
{
|
||||
DWORD wstyle = m_baseStyle;
|
||||
|
||||
bool want3D;
|
||||
WXDWORD exStyle = Determine3DEffects(WS_EX_CLIENTEDGE, &want3D);
|
||||
|
||||
// Even with extended styles, need to combine with WS_BORDER
|
||||
// for them to look right.
|
||||
if ( want3D )
|
||||
wstyle |= WS_BORDER;
|
||||
WXDWORD exStyle = 0;
|
||||
(void) MSWGetStyle(GetWindowStyle(), & exStyle) ;
|
||||
|
||||
long oldStyle = 0; // Dummy
|
||||
wstyle |= ConvertToMSWStyle(oldStyle, m_windowStyle);
|
||||
|
Reference in New Issue
Block a user