A border around a wxChoice is not appropriate.
This commit is contained in:
parent
72298d7d04
commit
b573c6a79f
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user