A border around a wxChoice is not appropriate.

This commit is contained in:
Julian Smart 2017-05-25 18:11:21 +01:00
parent 72298d7d04
commit b573c6a79f

View File

@ -1278,14 +1278,6 @@ bool wxDirFilterListCtrl::Create(wxGenericDirCtrl* parent,
long style) long style)
{ {
m_dirCtrl = parent; 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); return wxChoice::Create(parent, treeid, pos, size, 0, NULL, style);
} }