mirror of https://github.com/BOINC/boinc.git
MGR: Add a comment
svn path=/trunk/boinc/; revision=21890
This commit is contained in:
parent
994f17933d
commit
8f0632f5c0
|
@ -462,6 +462,8 @@ bool CNoticeListCtrl::Create( wxWindow* parent )
|
||||||
SetAccessible(new CNoticeListCtrlAccessible(this));
|
SetAccessible(new CNoticeListCtrlAccessible(this));
|
||||||
#endif
|
#endif
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
// Enable accessibility only after drawing the page
|
||||||
|
// to avoid a mysterious crash bug
|
||||||
m_accessible = NULL;
|
m_accessible = NULL;
|
||||||
#endif
|
#endif
|
||||||
////@end CNoticeListCtrl creation
|
////@end CNoticeListCtrl creation
|
||||||
|
@ -594,6 +596,8 @@ bool CNoticeListCtrl::UpdateUI()
|
||||||
pDoc->notices.complete = false;
|
pDoc->notices.complete = false;
|
||||||
}
|
}
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
// Enable accessibility only after drawing the page
|
||||||
|
// to avoid a mysterious crash bug
|
||||||
if (m_accessible == NULL) {
|
if (m_accessible == NULL) {
|
||||||
m_accessible = new CNoticeListCtrlAccessible(this);
|
m_accessible = new CNoticeListCtrlAccessible(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue