The R Project SVN R

Rev

Rev 43889 | Rev 45017 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 43889 Rev 44980
Line 435... Line 435...
435
 
435
 
436
	old = currentdrawing();
436
	old = currentdrawing();
437
	d->hit = NOT_CHOSEN_YET;
437
	d->hit = NOT_CHOSEN_YET;
438
 
438
 
439
	show(w);
439
	show(w);
440
	while (d->hit == NOT_CHOSEN_YET)
440
	while (d->hit == NOT_CHOSEN_YET) {
-
 
441
		if (!peekevent()) WaitMessage();
441
		doevent();
442
		doevent();
-
 
443
	}
442
	hide(w);
444
	hide(w);
443
 
445
 
444
	if (old) drawto(old);
446
	if (old) drawto(old);
445
 
447
 
446
	return d->hit;
448
	return d->hit;