Warning fixes for wxUSE_STL=1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-07-12 20:36:50 +00:00
parent 007007c5e4
commit 1b80d34a52
2 changed files with 2 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ void wxDCBase::DoDrawSpline( wxList *points )
wx_spline_add_point(x1, y1); wx_spline_add_point(x1, y1);
while ((node = node->GetNext()) != NULL) while ((node = node->GetNext()))
{ {
p = (wxPoint *)node->GetData(); p = (wxPoint *)node->GetData();
x1 = x2; x1 = x2;

View File

@@ -375,7 +375,7 @@ void wxHtmlParser::PopTagHandler()
wxList::compatibility_iterator first; wxList::compatibility_iterator first;
if ( !m_HandlersStack || if ( !m_HandlersStack ||
(first = m_HandlersStack->GetFirst()) == NULL ) !(first = m_HandlersStack->GetFirst()) )
{ {
wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack.")); wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
return; return;