mirror of https://github.com/BOINC/boinc.git
MGR: Fix typo and comments
This commit is contained in:
parent
ae23265056
commit
1613aeaed6
|
@ -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 ()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue