|
|
|
@ -216,14 +216,7 @@ void LIB_TREE::Regenerate( bool aKeepState ) |
|
|
|
|
|
|
|
void LIB_TREE::RefreshLibTree() |
|
|
|
{ |
|
|
|
#ifdef __WXOSX__
|
|
|
|
// Yes, this is an enormous hack. It should be replaced if anyone can figure out a better
|
|
|
|
// way to get the OSX version to re-fetch the text and attributes from the dataModel for
|
|
|
|
// each visible item.
|
|
|
|
int width = m_tree_ctrl->GetColumn( 0 )->GetWidth(); |
|
|
|
m_tree_ctrl->GetColumn( 0 )->SetWidth( width + 1 ); |
|
|
|
m_tree_ctrl->GetColumn( 0 )->SetWidth( width ); |
|
|
|
#endif
|
|
|
|
m_adapter->RefreshTree(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|