mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -380,7 +380,7 @@ void CGameListCtrl::ScanForISOs(bool bUpdateCache)
|
||||
{
|
||||
wxProgressDialog dialog(_T("Scanning for ISOs"),
|
||||
_T("Scanning..."),
|
||||
rFilenames.size(), // range
|
||||
(int)rFilenames.size(), // range
|
||||
this, // parent
|
||||
wxPD_APP_MODAL |
|
||||
// wxPD_AUTO_HIDE | -- try this as well
|
||||
|
@ -679,7 +679,7 @@ void CISOProperties::PatchButtonClicked(wxCommandEvent& event)
|
||||
if (dlg.ShowModal() == wxID_OK)
|
||||
{
|
||||
Patches->Append(wxString::FromAscii(onFrame.back().name.c_str()));
|
||||
Patches->Check(onFrame.size() - 1, onFrame.back().active);
|
||||
Patches->Check((unsigned int)(onFrame.size() - 1), onFrame.back().active);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -312,7 +312,7 @@ void DolphinApp::OnEndSession()
|
||||
/////////////////////////////////////// Main window created
|
||||
|
||||
#if defined HAVE_WX && HAVE_WX
|
||||
bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int Style)
|
||||
bool wxMsgAlert(const char* caption, const char* text, bool yes_no, int /*Style*/)
|
||||
{
|
||||
return wxYES == wxMessageBox(wxString::FromAscii(text),
|
||||
wxString::FromAscii(caption),
|
||||
|
Reference in New Issue
Block a user