From 1613aeaed6f696cf1596e67455e082a2ab31941b Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 24 Jun 2014 20:15:49 -0700 Subject: [PATCH] MGR: Fix typo and comments --- clientgui/ViewProjects.cpp | 3 +-- clientgui/ViewTransfers.cpp | 3 +++ clientgui/ViewWork.cpp | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/clientgui/ViewProjects.cpp b/clientgui/ViewProjects.cpp index 48fd599718..f978343577 100644 --- a/clientgui/ViewProjects.cpp +++ b/clientgui/ViewProjects.cpp @@ -83,14 +83,13 @@ BEGIN_EVENT_TABLE (CViewProjects, CBOINCBaseView) EVT_BUTTON(ID_TASK_PROJECT_SHOW_PROPERTIES, CViewProjects::OnShowItemProperties) EVT_CUSTOM_RANGE(wxEVT_COMMAND_BUTTON_CLICKED, ID_TASK_PROJECT_WEB_PROJDEF_MIN, ID_TASK_PROJECT_WEB_PROJDEF_MAX, CViewProjects::OnProjectWebsiteClicked) // We currently handle EVT_LIST_CACHE_HINT on Windows or -// EVT_CHECK_SELECTION_CHANGED on Mac instead of EVT_LIST_ITEM_SELECTED +// EVT_CHECK_SELECTION_CHANGED on Mac & Linux instead of EVT_LIST_ITEM_SELECTED // or EVT_LIST_ITEM_DESELECTED. See CBOINCBaseView::OnCacheHint() for info. #if USE_LIST_CACHE_HINT EVT_LIST_CACHE_HINT(ID_LIST_PROJECTSVIEW, CViewProjects::OnCacheHint) #else EVT_CHECK_SELECTION_CHANGED(CViewProjects::OnCheckSelectionChanged) #endif - EVT_CHECK_SELECTION_CHANGED(CViewProjects::OnCheckSelectionChanged) EVT_LIST_COL_CLICK(ID_LIST_PROJECTSVIEW, CViewProjects::OnColClick) EVT_LIST_COL_END_DRAG(ID_LIST_PROJECTSVIEW, CViewProjects::OnColResize) END_EVENT_TABLE () diff --git a/clientgui/ViewTransfers.cpp b/clientgui/ViewTransfers.cpp index dad3dab69a..07376260b1 100644 --- a/clientgui/ViewTransfers.cpp +++ b/clientgui/ViewTransfers.cpp @@ -68,6 +68,9 @@ IMPLEMENT_DYNAMIC_CLASS(CViewTransfers, CBOINCBaseView) BEGIN_EVENT_TABLE (CViewTransfers, CBOINCBaseView) EVT_BUTTON(ID_TASK_TRANSFERS_RETRYNOW, CViewTransfers::OnTransfersRetryNow) EVT_BUTTON(ID_TASK_TRANSFERS_ABORT, CViewTransfers::OnTransfersAbort) +// We currently handle EVT_LIST_CACHE_HINT on Windows or +// EVT_CHECK_SELECTION_CHANGED on Mac & Linux instead of EVT_LIST_ITEM_SELECTED +// or EVT_LIST_ITEM_DESELECTED. See CBOINCBaseView::OnCacheHint() for info. #if USE_LIST_CACHE_HINT EVT_LIST_CACHE_HINT(ID_LIST_TRANSFERSVIEW, CViewTransfers::OnCacheHint) #else diff --git a/clientgui/ViewWork.cpp b/clientgui/ViewWork.cpp index 84f763aebf..9905fd2f7f 100644 --- a/clientgui/ViewWork.cpp +++ b/clientgui/ViewWork.cpp @@ -90,7 +90,7 @@ BEGIN_EVENT_TABLE (CViewWork, CBOINCBaseView) EVT_BUTTON(ID_TASK_ACTIVE_ONLY, CViewWork::OnActiveTasksOnly) EVT_CUSTOM_RANGE(wxEVT_COMMAND_BUTTON_CLICKED, ID_TASK_PROJECT_WEB_PROJDEF_MIN, ID_TASK_PROJECT_WEB_PROJDEF_MAX, CViewWork::OnProjectWebsiteClicked) // We currently handle EVT_LIST_CACHE_HINT on Windows or -// EVT_CHECK_SELECTION_CHANGED on Mac instead of EVT_LIST_ITEM_SELECTED +// EVT_CHECK_SELECTION_CHANGED on Mac & Linux instead of EVT_LIST_ITEM_SELECTED // or EVT_LIST_ITEM_DESELECTED. See CBOINCBaseView::OnCacheHint() for info. #if USE_LIST_CACHE_HINT EVT_LIST_CACHE_HINT(ID_LIST_WORKVIEW, CViewWork::OnCacheHint)