]> git.saurik.com Git - wxWidgets.git/commitdiff
More style issues
authorJulian Smart <julian@anthemion.co.uk>
Wed, 7 May 2003 16:07:36 +0000 (16:07 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 7 May 2003 16:07:36 +0000 (16:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp
src/msw/listctrl.cpp

index b42f9d6d9ee0a19f81421dbe1eb061d7841234ad..8bac497a2f5cd527e09cdaf9c856c3903ab1cdcb 100644 (file)
@@ -459,10 +459,14 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
 
     if ((style & wxDIRCTRL_3D_INTERNAL) == 0)
         treeStyle |= wxNO_BORDER;
+    else
+        treeStyle |= wxBORDER_SUNKEN;
 
     long filterStyle = 0;
     if ((style & wxDIRCTRL_3D_INTERNAL) == 0)
         filterStyle |= wxNO_BORDER;
+    else
+        filterStyle |= wxBORDER_SUNKEN;
 
     m_treeCtrl = new wxTreeCtrl(this, wxID_TREECTRL, pos, size, treeStyle);
 
index c369f92b0fc2e7aa0a3881e36eb77f06f4e28c23..73d138f1e30eb2dc629009c47573e30a1004961e 100644 (file)
@@ -288,14 +288,6 @@ bool wxListCtrl::Create(wxWindow *parent,
     DWORD wstyle = WS_VISIBLE | WS_CHILD | WS_TABSTOP |
                    LVS_SHAREIMAGELISTS | LVS_SHOWSELALWAYS;
 
-    if ( m_windowStyle & wxCLIP_SIBLINGS )
-        wstyle |= WS_CLIPSIBLINGS;
-
-/*
-    if ( wxStyleHasBorder(m_windowStyle) )
-        wstyle |= WS_BORDER;
-*/
-
     m_baseStyle = wstyle;
 
     if ( !DoCreateControl(x, y, width, height) )