]> git.saurik.com Git - wxWidgets.git/commitdiff
Always use theme border for inner window under wxGTK
authorRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 15:10:09 +0000 (15:10 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 15:10:09 +0000 (15:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index a2dc2070c49afd025f1af49e5021f252f4d0388d..6daa2332081f115c903c177790f5cbc2e5270191 100644 (file)
@@ -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 );