]> git.saurik.com Git - wxWidgets.git/commitdiff
Use theme border in wxListCtrl sample
authorRobert Roebling <robert@roebling.de>
Thu, 22 Jan 2009 15:11:35 +0000 (15:11 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 22 Jan 2009 15:11:35 +0000 (15:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/listctrl/listtest.cpp

index f18999f66d98cb0d4c8076649a1b45eae556d14f..497cc83cbdf20ac37a97146ebeb2c9cdddaca676 100644 (file)
@@ -425,7 +425,7 @@ void MyFrame::RecreateList(long flags, bool withText)
         m_listCtrl = new MyListCtrl(m_panel, LIST_CTRL,
                                     wxDefaultPosition, wxDefaultSize,
                                     flags |
-                                    wxSUNKEN_BORDER | wxLC_EDIT_LABELS);
+                                    wxBORDER_THEME | wxLC_EDIT_LABELS);
 
         switch ( flags & wxLC_MASK_TYPE )
         {