MGR: Add a comment

svn path=/trunk/boinc/; revision=21890
This commit is contained in:
Charlie Fenton 2010-07-10 08:02:00 +00:00
parent 994f17933d
commit 8f0632f5c0
1 changed files with 4 additions and 0 deletions

View File

@ -462,6 +462,8 @@ bool CNoticeListCtrl::Create( wxWindow* parent )
SetAccessible(new CNoticeListCtrlAccessible(this));
#endif
#ifdef __WXMAC__
// Enable accessibility only after drawing the page
// to avoid a mysterious crash bug
m_accessible = NULL;
#endif
////@end CNoticeListCtrl creation
@ -594,6 +596,8 @@ bool CNoticeListCtrl::UpdateUI()
pDoc->notices.complete = false;
}
#ifdef __WXMAC__
// Enable accessibility only after drawing the page
// to avoid a mysterious crash bug
if (m_accessible == NULL) {
m_accessible = new CNoticeListCtrlAccessible(this);
}