XtVaGetValues fixes

svn: r2307
This commit is contained in:
Matthew Flatt 2006-02-23 19:40:11 +00:00
parent 7103d8041a
commit e973034e27
2 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ void wxCanvas::SetScrollbars(int h_pixels, int v_pixels, int x_len, int y_len,
XtVaSetValues(X->scroll,
XtNhScrollAmount, h_units,
XtNvScrollAmount, v_units,
0);
NULL);
}
} else {
Arg a[8];

View File

@ -642,7 +642,7 @@ void wxFrame::SetIcon(wxBitmap *icon, wxBitmap *mask, int kind)
pm = mask ? GETPIXMAP(mask) : (Pixmap)NULL;
XtVaSetValues(X->frame, XtNiconMask, pm, NULL);
pm = GETPIXMAP(bm);
XtVaSetValues(X->frame, XtNiconPixmap, pm, (Pixmap)NULL);
XtVaSetValues(X->frame, XtNiconPixmap, pm, (Pixmap)NULL, NULL);
frame_icon = bm;
frame_mask = mask;