*** empty log message ***

svn path=/trunk/boinc/; revision=11565
This commit is contained in:
Rom Walton 2006-11-22 18:42:22 +00:00
parent 2bc6dd124b
commit aed031d7d2
1 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,6 @@ wxMenu *CTaskBarIcon::BuildContextMenu() {
wxMenu* pMenu = new wxMenu;
wxString menuName = wxEmptyString;
ACCT_MGR_INFO ami;
bool is_acct_mgr_detected = false;
wxASSERT(pMenu);
wxASSERT(pDoc);
@ -647,8 +646,9 @@ void CTaskBarIcon::AdjustMenuItems(wxMenu* pMenu) {
// If a dialog is detected, we cannot allow the "Exit" menu item to be
// enabled. So lets search for the dialog by ID since all of BOINC
// Manager's dialog IDs are 10000.
if (wxDynamicCast(wxWindow::FindWindowById(ID_ANYDIALOG), wxDialog))
if (wxDynamicCast(wxWindow::FindWindowById(ID_ANYDIALOG), wxDialog)) {
is_dialog_detected = true;
}
for (loc = 0; loc < pMenu->GetMenuItemCount(); loc++) {
pMenuItem = pMenu->FindItemByPosition(loc);