Win compile fixes

This commit is contained in:
David Anderson 2014-06-16 18:58:55 -07:00
parent 510d81807f
commit 527896ca4c
5 changed files with 8 additions and 7 deletions

View File

@ -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) {

View File

@ -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));
}

View File

@ -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));
}

View File

@ -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));
}

View File

@ -22,6 +22,7 @@
#endif
#include "error_numbers.h"
#include "str_replace.h"
#include "notice.h"