diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 8759eccbdb..44981df672 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -1278,14 +1278,6 @@ bool wxDirFilterListCtrl::Create(wxGenericDirCtrl* parent, long style) { m_dirCtrl = parent; - - // by default our border style is determined by the style of our parent - if ( !(style & wxBORDER_MASK) ) - { - style |= parent->HasFlag(wxDIRCTRL_3D_INTERNAL) ? wxBORDER_SUNKEN - : wxBORDER_NONE; - } - return wxChoice::Create(parent, treeid, pos, size, 0, NULL, style); }