Make wxCOL_WIDTH_AUTOSIZE work correctly in Mac wxDataViewCtrl
Update the width when items are expanded and collapsed and also take the expander width into account. Change m_ModelNotifier type to avoid casts when calling wxOSX-specific method on it. Closes #14939. Co-Authored-By: Vadim Zeitlin <vadim@wxwidgets.org>
This commit is contained in:
committed by
Vadim Zeitlin
parent
9a1e820cc1
commit
e89e76bb82
@@ -557,6 +557,9 @@ private:
|
||||
wxCocoaOutlineDataSource* m_DataSource;
|
||||
|
||||
wxCocoaOutlineView* m_OutlineView;
|
||||
|
||||
// Width of expander in pixels, computed on demand.
|
||||
int m_expanderWidth;
|
||||
};
|
||||
|
||||
#endif // _WX_DATAVIEWCTRL_COCOOA_H_
|
||||
|
Reference in New Issue
Block a user