Always use theme border for inner window under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5083,6 +5083,10 @@ bool wxGenericListCtrl::Create(wxWindow *parent,
|
||||
if ( !wxControl::Create( parent, id, pos, size, style|wxVSCROLL|wxHSCROLL, validator, name ) )
|
||||
return false;
|
||||
|
||||
#ifdef __WXGTK__
|
||||
style &= ~wxBORDER_MASK;
|
||||
style |= wxBORDER_THEME;
|
||||
#endif
|
||||
|
||||
m_mainWin = new wxListMainWindow( this, wxID_ANY, wxPoint(0, 0), size, style );
|
||||
|
||||
|
Reference in New Issue
Block a user