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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user