From: Sylvain Bougnoux Date: Mon, 21 Feb 2000 18:13:09 +0000 (+0000) Subject: tiny fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5d097345ba95d3db8662ed77445f6c91685fc86a tiny fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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