From 8f0632f5c0c3496cccb4173457392dfe7f747729 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 10 Jul 2010 08:02:00 +0000 Subject: [PATCH] MGR: Add a comment svn path=/trunk/boinc/; revision=21890 --- clientgui/NoticeListCtrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clientgui/NoticeListCtrl.cpp b/clientgui/NoticeListCtrl.cpp index 3d215e8dc6..48c9c68f6b 100644 --- a/clientgui/NoticeListCtrl.cpp +++ b/clientgui/NoticeListCtrl.cpp @@ -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); }