Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-01-22 13:42:33 +00:00
parent 10dcbe6369
commit 55e3f1c4f9
2 changed files with 2 additions and 1 deletions

View File

@@ -314,7 +314,7 @@ void wxDCBase::DoDrawSpline( wxList *points )
double x1, y1, x2, y2;
wxList::compatibility_iterator node = points->GetFirst();
if (node == NULL)
if (node == wxList::compatibility_iterator())
// empty list
return;

View File

@@ -171,6 +171,7 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)
case wxCHK_UNCHECKED: value = XmUNSET; break;
case wxCHK_CHECKED: value = XmSET; break;
case wxCHK_UNDETERMINED: value = XmINDETERMINATE; break;
default: wxASSERT(0); return;
}
XtVaSetValues( (Widget) m_mainWidget,