|
From: don t. <dt...@to...> - 2010-02-22 17:38:24
|
> "don taber" wrote : > ====================================================================== > One problem I note in both cases: Font changes made with the "Choose > Font" Windows dialog do not take effect unless followed by a replot ... > > Any suggestions? The appended patch fixes the problem for me. I general, I think it should be okay because you cannot get to that dialog unless you have already successfully performed a plot. So replotting should succeed. The only abberant case I have found is to splot a 3d surface and then issue a bad 2d plot command. Now replotting fails because (I think) the 'is_3d_plot' variable got changed by the bad plot command. Don Taber ------------------------------------------------------------ --- wgraph.c.orig 2010-02-19 11:17:11.000000000 -0800 +++ wgraph.c 2010-02-19 11:17:37.000000000 -0800 @@ -815,6 +815,7 @@ strcpy(lpgw->deffontname,lpgw->fontname); lpgw->deffontsize = lpgw->fontsize; SendMessage(lpgw->hWndGraph,WM_COMMAND,M_REBUILDTOOLS,0L); + replotrequest(); } #endif } |