Ensure display update in wxCocoaDataViewControl::UnselectAll()
NSOutlineView deselectAll apparently doesn't repaint the control itself (or not always), so we have to do it explicitly.
This commit is contained in:
@@ -2456,6 +2456,7 @@ void wxCocoaDataViewControl::Unselect(const wxDataViewItem& item)
|
|||||||
void wxCocoaDataViewControl::UnselectAll()
|
void wxCocoaDataViewControl::UnselectAll()
|
||||||
{
|
{
|
||||||
[m_OutlineView deselectAll:m_OutlineView];
|
[m_OutlineView deselectAll:m_OutlineView];
|
||||||
|
[m_OutlineView setNeedsDisplay:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user