From dff750b48ff5da70dfce215b3a6546cba8bac2e6 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 23 Jan 2009 15:10:09 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index a2dc2070c4..6daa233208 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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 ); -- 2.50.0