Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,7 +304,7 @@ bool wxVariantDataStringList::Read(wxString& WXUNUSED(str))
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif //2.4 compat
|
||||
#endif //2.4 compat
|
||||
|
||||
/*
|
||||
* wxVariantDataLong
|
||||
@@ -1994,7 +1994,7 @@ void wxVariant::ClearList()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetType() != wxT("list"))
|
||||
if (!GetType().IsSameAs(wxT("list")))
|
||||
{
|
||||
delete m_data;
|
||||
m_data = NULL;
|
||||
|
Reference in New Issue
Block a user