XtVaGetValues fixes
svn: r2307
This commit is contained in:
parent
7103d8041a
commit
e973034e27
|
@ -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];
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user