Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -314,7 +314,7 @@ void wxDCBase::DoDrawSpline( wxList *points )
|
|||||||
double x1, y1, x2, y2;
|
double x1, y1, x2, y2;
|
||||||
|
|
||||||
wxList::compatibility_iterator node = points->GetFirst();
|
wxList::compatibility_iterator node = points->GetFirst();
|
||||||
if (node == NULL)
|
if (node == wxList::compatibility_iterator())
|
||||||
// empty list
|
// empty list
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -171,6 +171,7 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)
|
|||||||
case wxCHK_UNCHECKED: value = XmUNSET; break;
|
case wxCHK_UNCHECKED: value = XmUNSET; break;
|
||||||
case wxCHK_CHECKED: value = XmSET; break;
|
case wxCHK_CHECKED: value = XmSET; break;
|
||||||
case wxCHK_UNDETERMINED: value = XmINDETERMINATE; break;
|
case wxCHK_UNDETERMINED: value = XmINDETERMINATE; break;
|
||||||
|
default: wxASSERT(0); return;
|
||||||
}
|
}
|
||||||
|
|
||||||
XtVaSetValues( (Widget) m_mainWidget,
|
XtVaSetValues( (Widget) m_mainWidget,
|
||||||
|
Reference in New Issue
Block a user