From b573c6a79f91b39ad7306ceae1e2def212ba0637 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 25 May 2017 18:11:21 +0100 Subject: [PATCH] A border around a wxChoice is not appropriate. --- src/generic/dirctrlg.cpp | 8 -------- 1 file changed, 8 deletions(-) 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); }