]> git.saurik.com Git - wxWidgets.git/commitdiff
tiny fixes
authorSylvain Bougnoux <bougnoux@imra-europe.com>
Mon, 21 Feb 2000 18:13:09 +0000 (18:13 +0000)
committerSylvain Bougnoux <bougnoux@imra-europe.com>
Mon, 21 Feb 2000 18:13:09 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/treectrl/treetest.cpp

index 6f225983ab6077e4c2ed346083926e8ba20d7234..37c93a6e67de3b7bc7210abeba3d6b145825878f 100644 (file)
 
 #include "math.h"
 
+//#define NO_VARIABLE_HEIGHT
+//#define NO_MULTIPLE_SELECTION
+
 #ifdef __WXMSW__
     // comment out this line to test multiple selection even under MSW (where
     // it looks ugly - but works)
     #define NO_MULTIPLE_SELECTION
 #endif
 
-#define NO_VARIABLE_HEIGHT
-
 #include "treetest.h"
 
 // under Windows the icons are in the .rc file
@@ -200,6 +201,9 @@ MyFrame::MyFrame(const wxString& title, int x, int y, int w, int h)
                                 wxDefaultPosition, wxDefaultSize,
                                 wxTR_HAS_BUTTONS |
                                 wxTR_EDIT_LABELS |
+#ifndef NO_MULTIPLE_SELECTION
+                                wxTR_MULTIPLE |
+#endif
 #ifndef NO_VARIABLE_HEIGHT
                                 wxTR_HAS_VARIABLE_ROW_HEIGHT |
 #endif