From: Robert Roebling Date: Fri, 23 Jan 2009 15:10:09 +0000 (+0000) Subject: Always use theme border for inner window under wxGTK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dff750b48ff5da70dfce215b3a6546cba8bac2e6 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 --- 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 );