Partial impl of auto resizing columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1147,6 +1147,8 @@ wxDataViewColumn::wxDataViewColumn( const wxString &title, wxDataViewRenderer *c
|
||||
SetTitle(title);
|
||||
SetFlags(flags);
|
||||
|
||||
m_autosize = width < 0; // TODO
|
||||
|
||||
Init(width < 0 ? wxDVC_DEFAULT_WIDTH : width);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user