Don't turn off the HAS_BUTTONS stle on wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-18 15:25:30 +00:00
parent bcb614b328
commit 8c16f80618

View File

@@ -1856,8 +1856,6 @@ bool wxTreeListMainWindow::Create (wxTreeListCtrl *parent,
const wxString& name) {
#ifdef __WXMAC__
if (style & wxTR_HAS_BUTTONS) style |= wxTR_MAC_BUTTONS;
if (style & wxTR_HAS_BUTTONS) style &= ~wxTR_HAS_BUTTONS;
style &= ~wxTR_LINES_AT_ROOT;
style |= wxTR_NO_LINES;