From f6eaeda1b0c9b4ba30617fc2356bf0be71e439c5 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 10 Dec 2001 11:55:16 +0000 Subject: [PATCH] Small optical fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/treectlg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index edfa111639..0ebc9aa60b 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -670,6 +670,7 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent, wxGetOsVersion( &major, &minor ); 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; if (major < 10) -- 2.47.2