diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index ce010ba232..237bd98b90 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -1917,7 +1917,6 @@ wxCocoaDataViewControl::wxCocoaDataViewControl(wxWindow* peer, // initialize scrollview (the outline view is part of a scrollview): NSScrollView* scrollview = (NSScrollView*) GetWXWidget(); - [scrollview setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [scrollview setBorderType:NSNoBorder]; [scrollview setHasVerticalScroller:YES]; [scrollview setHasHorizontalScroller:YES];