Change the cmake check_lib routine to use REQUIRED/OPTIONAL instead of TRUE/FALSE.

Add a check to see if -Wno-unused-result is supported by the compiler.
Fix some compiler warnings in the wiiuse code.
Fix a bug in the wxGTK panic alert code.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6399 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-11-13 22:07:27 +00:00
parent 02edf66b49
commit 17662d4ac6
5 changed files with 19 additions and 10 deletions

View file

@ -658,7 +658,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
#ifdef __WXGTK__
case IDM_PANIC:
bPanicResult = (wxYES == wxMessageBox(event.GetString(),
wxT("Warning"), event.GetInt() ? wxYES_NO : wxOK), this);
wxT("Warning"), event.GetInt() ? wxYES_NO : wxOK, this));
panic_event.Set();
break;
#endif