A recently added fix for warnings under Linux is creating an assert on Windows.

The problem only affects debug builds but it should get a review.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5141 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-04-05 19:49:49 +00:00
parent 03db2fcf4e
commit 4512a3cad0
1 changed files with 6 additions and 0 deletions

View File

@ -122,6 +122,12 @@ void RecentIsoManager::Repopulate()
m_Separator = m_Menu->AppendSeparator();
// The following line is important
// Update: It also makes debug WX assert on Windows. Can we review wether this is needed in Linux at all?
// Below is a version that doesn't trigger the assert (WX on Windows complains about an empty string), but
// ideally this line should get removed.
//wxString temp = L"isupresswarnings";
//m_Menu->Remove( m_Menu->Append( -1, temp ) );
m_Menu->Remove( m_Menu->Append( -1, wxEmptyString ) );
//Note: the internal recent iso list (m_Items) has the most recent item last (also at the INI file)