]> git.saurik.com Git - wxWidgets.git/commitdiff
the sample should really really show treectrl's native/default look
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:46:47 +0000 (22:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:46:47 +0000 (22:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/treectrl/treectrl.cpp

index 6e6a8a613f5eedee90c9d6751eb5a9adad537a0f..48ad41d43c8677e639c3b278e5f949eaf1627ca0 100644 (file)
@@ -243,8 +243,7 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
 
     m_treeCtrl = new MyTreeCtrl(this, TreeTest_Ctrl,
                                 wxDefaultPosition, wxDefaultSize,
-                                wxTR_TWIST_BUTTONS | wxTR_NO_LINES |
-                                wxTR_EDIT_LABELS |
+                                wxTR_DEFAULT_STYLE | wxTR_EDIT_LABELS |
 #ifndef NO_VARIABLE_HEIGHT
                                 wxTR_HAS_VARIABLE_ROW_HEIGHT |
 #endif