Fixed stupid bool to int conversion warnings.

This commit is contained in:
Matthew Parlane 2012-12-23 19:53:15 +13:00
parent a76059377d
commit 3a2c0b778a
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ protected:
void Event_ProgressiveScan(wxCommandEvent &ev)
{
SConfig::GetInstance().m_SYSCONF->SetData("IPL.PGS", ev.GetInt());
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.GetInt();
SConfig::GetInstance().m_LocalCoreStartupParameter.bProgressive = ev.IsChecked();
ev.Skip();
}

View File

@ -61,7 +61,7 @@ public:
}
void OnReconnectOnLoad(wxCommandEvent& event)
{
SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.GetInt();
SConfig::GetInstance().m_WiimoteReconnectOnLoad = event.IsChecked();
event.Skip();
}