More style issues

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-07 16:07:36 +00:00
parent 31e7e89fdd
commit 27c7397611
2 changed files with 4 additions and 8 deletions

View 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);