]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't turn off the HAS_BUTTONS stle on wxMac
authorRobin Dunn <robin@alldunn.com>
Mon, 18 Sep 2006 15:25:30 +0000 (15:25 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 18 Sep 2006 15:25:30 +0000 (15:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp

index 5d97fe6f357ac95e9401e65d4f51ac40c5475fef..a08a67517125666b7ce4b38cc74ffca77863ad60 100644 (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;