]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.cpp
1. fatal typo in colour copying in wxStyleInfo ctor fixed
[wxWidgets.git] / samples / treectrl / treetest.cpp
index 2fe8fe49fd4c6ecfac0c3373ed2bde9914cd1dd6..93d51cd80d74f6ea7d720625933e76a78f4f8815 100644 (file)
@@ -161,7 +161,9 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
 
     m_treeCtrl = new MyTreeCtrl(this, TreeTest_Ctrl,
                                 wxDefaultPosition, wxDefaultSize,
-                                wxTR_HAS_BUTTONS | wxSUNKEN_BORDER);
+                                wxTR_HAS_BUTTONS | wxSUNKEN_BORDER
+                               | wxTR_MULTIPLE
+                               );
     wxTextCtrl *textCtrl = new wxTextCtrl(this, -1, "",
                                 wxDefaultPosition, wxDefaultSize,
                                 wxTE_MULTILINE | wxSUNKEN_BORDER);