mirror of https://github.com/BOINC/boinc.git
Win compile fixes
This commit is contained in:
parent
510d81807f
commit
527896ca4c
|
@ -504,7 +504,7 @@ void NOTICES::remove_notices(PROJECT* p, int which) {
|
|||
remove = !strcmp(n.description.c_str(), NO_WORK_MSG);
|
||||
break;
|
||||
case REMOVE_CONFIG_MSG:
|
||||
remove = strstr(n.description.c_str(), "cc_config.xml");
|
||||
remove = (strstr(n.description.c_str(), "cc_config.xml") != NULL);
|
||||
break;
|
||||
}
|
||||
if (remove) {
|
||||
|
|
|
@ -99,12 +99,12 @@ void CSimpleProjectCommandPopupButton::AddMenuItems() {
|
|||
}
|
||||
|
||||
|
||||
void CSimpleProjectCommandPopupButton::OnProjectCommandsMouseDown(wxMouseEvent& event) {
|
||||
void CSimpleProjectCommandPopupButton::OnProjectCommandsMouseDown(wxMouseEvent&) {
|
||||
ShowProjectCommandsMenu(ScreenToClient(wxGetMousePosition()));
|
||||
}
|
||||
|
||||
|
||||
void CSimpleProjectCommandPopupButton::OnProjectCommandsKeyboardNav(wxCommandEvent& event) {
|
||||
void CSimpleProjectCommandPopupButton::OnProjectCommandsKeyboardNav(wxCommandEvent&) {
|
||||
ShowProjectCommandsMenu(wxPoint(GetSize().GetWidth()/2, GetSize().GetHeight()/2));
|
||||
}
|
||||
|
||||
|
|
|
@ -93,12 +93,12 @@ void CSimpleProjectWebSitesPopupButton::RebuildMenu() {
|
|||
}
|
||||
|
||||
|
||||
void CSimpleProjectWebSitesPopupButton::OnProjectWebSitesMouseDown(wxMouseEvent& event) {
|
||||
void CSimpleProjectWebSitesPopupButton::OnProjectWebSitesMouseDown(wxMouseEvent&) {
|
||||
ShowProjectWebSitesMenu(ScreenToClient(wxGetMousePosition()));
|
||||
}
|
||||
|
||||
|
||||
void CSimpleProjectWebSitesPopupButton::OnProjectWebSitesKeyboardNav(wxCommandEvent& event) {
|
||||
void CSimpleProjectWebSitesPopupButton::OnProjectWebSitesKeyboardNav(wxCommandEvent&) {
|
||||
ShowProjectWebSitesMenu(wxPoint(GetSize().GetWidth()/2, GetSize().GetHeight()/2));
|
||||
}
|
||||
|
||||
|
|
|
@ -87,12 +87,12 @@ void CSimpleTaskPopupButton::AddMenuItems() {
|
|||
}
|
||||
|
||||
|
||||
void CSimpleTaskPopupButton::OnTaskCommandsMouseDown(wxMouseEvent& event) {
|
||||
void CSimpleTaskPopupButton::OnTaskCommandsMouseDown(wxMouseEvent&) {
|
||||
ShowTaskCommandsMenu(ScreenToClient(wxGetMousePosition()));
|
||||
}
|
||||
|
||||
|
||||
void CSimpleTaskPopupButton::OnTaskCommandsKeyboardNav(wxCommandEvent& event) {
|
||||
void CSimpleTaskPopupButton::OnTaskCommandsKeyboardNav(wxCommandEvent&) {
|
||||
ShowTaskCommandsMenu(wxPoint(GetSize().GetWidth()/2, GetSize().GetHeight()/2));
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#endif
|
||||
|
||||
#include "error_numbers.h"
|
||||
#include "str_replace.h"
|
||||
|
||||
#include "notice.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue