tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,14 +33,15 @@
|
|||||||
|
|
||||||
#include "math.h"
|
#include "math.h"
|
||||||
|
|
||||||
|
//#define NO_VARIABLE_HEIGHT
|
||||||
|
//#define NO_MULTIPLE_SELECTION
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
// comment out this line to test multiple selection even under MSW (where
|
// comment out this line to test multiple selection even under MSW (where
|
||||||
// it looks ugly - but works)
|
// it looks ugly - but works)
|
||||||
#define NO_MULTIPLE_SELECTION
|
#define NO_MULTIPLE_SELECTION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NO_VARIABLE_HEIGHT
|
|
||||||
|
|
||||||
#include "treetest.h"
|
#include "treetest.h"
|
||||||
|
|
||||||
// under Windows the icons are in the .rc file
|
// 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,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxTR_HAS_BUTTONS |
|
wxTR_HAS_BUTTONS |
|
||||||
wxTR_EDIT_LABELS |
|
wxTR_EDIT_LABELS |
|
||||||
|
#ifndef NO_MULTIPLE_SELECTION
|
||||||
|
wxTR_MULTIPLE |
|
||||||
|
#endif
|
||||||
#ifndef NO_VARIABLE_HEIGHT
|
#ifndef NO_VARIABLE_HEIGHT
|
||||||
wxTR_HAS_VARIABLE_ROW_HEIGHT |
|
wxTR_HAS_VARIABLE_ROW_HEIGHT |
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user