On 2016-01-05 13:17-0000 Phil Rosenberg wrote: > This is obviously a wxWidgets thing. In order to determine the size of the text I need a device context to do the calculation with. On windows there seems to be no problem creating a memory device context within a console application. But on Linux gdk obviously doesn't like it.
> I'll ask on the wxWidgets board if there is a workaround. Hi Phil: The wxWidgets library does purport to be cross-platform so I would be surprised if there was not some easy way of doing what you want to do that works on both Windows and Linux. [out of order] > Do you want me to revert the commit? Not urgently, but probably by this weekend if no solution can be found. The effect of the commit on Linux is interactive tests will not be able to finish unless wxwidgets is specifically disabled. So this does have some impact on those attempting to use master tip (although it is not nearly as severe as a build issue). For build issues that cannot be instantly resolved, I would revert the offending commit almost immediately. For run-time issues like this, we can be a little more relaxed about the urgency of reverting the change. By the way, the "git diff" command (to create a patch) and "git am --reverse" command to remove the change in that patch should help you make that public commit that removes your change. That method allows you to preserve the patch (or even commit it on a private topic branch with the aid of "git am") for future reference in case a method is found in the long term to make a slightly modified version of this approach work on Linux. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel