diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index 6f225983ab..37c93a6e67 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -33,14 +33,15 @@ #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