From e9c04133d24ba9614941ae1683c1070b7bbaa5c9 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Thu, 6 Aug 2015 09:50:47 +0200 Subject: [PATCH] Remove code targeted at MacOS versions prior to OS X. --- src/generic/treectlg.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index aee711a689..5f5f451529 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -996,12 +996,6 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent, const wxString& name ) { #ifdef __WXMAC__ - int major, minor; - wxGetOsVersion(&major, &minor); - - if (major < 10) - style |= wxTR_ROW_LINES; - if (style & wxTR_HAS_BUTTONS) style |= wxTR_NO_LINES; #endif // __WXMAC__