mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
03db2fcf4e
commit
4512a3cad0
|
@ -122,6 +122,12 @@ void RecentIsoManager::Repopulate()
|
||||||
m_Separator = m_Menu->AppendSeparator();
|
m_Separator = m_Menu->AppendSeparator();
|
||||||
|
|
||||||
// The following line is important
|
// 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 ) );
|
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)
|
//Note: the internal recent iso list (m_Items) has the most recent item last (also at the INI file)
|
||||||
|
|
Loading…
Reference in New Issue