Remove code targeted at MacOS versions prior to OS X.

This commit is contained in:
Tobias Taschner
2015-08-06 09:50:47 +02:00
parent 388e82e70c
commit e9c04133d2

View File

@@ -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__