tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dfc6cd933d
commit
5d097345ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user