fix some asserts that were clearly meant to be wxFAIL_MSG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -312,7 +312,7 @@ int wxRichTextFloatCollector::GetFitPosition(int direction, int start, int heigh
|
|||||||
return GetFitPosition(m_right, start, height);
|
return GetFitPosition(m_right, start, height);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxASSERT("Never should be here");
|
wxFAIL_MSG("Never should be here");
|
||||||
return start;
|
return start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -342,7 +342,7 @@ void wxRichTextFloatCollector::CollectFloat(wxRichTextParagraph* para, wxRichTex
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
delete map;
|
delete map;
|
||||||
wxASSERT("Unrecognised float attribute.");
|
wxFAIL_MSG("Unrecognised float attribute.");
|
||||||
}
|
}
|
||||||
|
|
||||||
m_para = para;
|
m_para = para;
|
||||||
|
Reference in New Issue
Block a user