Fix width of the wxDataViewTreeCtrl column under OSX/Cocoa.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:42:58 +0000 (17:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 10 Nov 2009 17:42:58 +0000 (17:42 +0000)
commit0e17930f4329ffc03e2fa89abb7d78deb2d935b5
treeddd6f29e08577b022e20dfe985775b46eb539d68
parenta35169b622c8ba90b41d02729e1db4c564690c7e
Fix width of the wxDataViewTreeCtrl column under OSX/Cocoa.

Set the column resizing mode to "automatic" instead of "none" if the control
doesn't show the header. This allows the native control to properly resize the
only tree control column to always take up the entire window size (provided we
don't explicitly create it resizeable, so don't do this).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/datavcmn.cpp
src/osx/cocoa/dataview.mm