#pragma interface "treectlg.h"
#endif
+#if wxUSE_TREECTRL
+
#include "wx/defs.h"
#include "wx/string.h"
#include "wx/object.h"
wxGenericTreeCtrl(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
+#ifdef __WXMAC__
+ long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES | wxTR_ROW_LINES,
+#else
long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,
+#endif
const wxValidator &validator = wxDefaultValidator,
const wxString& name = wxTreeCtrlNameStr)
{
bool Create(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,
+#ifdef __WXMAC__
+ long style = wxTR_MAC_BUTTONS | wxTR_NO_LINES | wxTR_ROW_LINES,
+#else
+ long style = wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT,
+#endif
const wxValidator &validator = wxDefaultValidator,
const wxString& name = wxTreeCtrlNameStr);
#endif
+#endif // wxUSE_TREECTRL
+
#endif // _GENERIC_TREECTRL_H_