Hi Phil: I have implemented the OLD_WXWIDGETS option as of commit bae1161, but there is one remaining issue with it that I need your help to fix.
The old wxwidgets device driver appears to work as well as ever for the -DOLD_WXWIDGETS=ON case, but if you build the wxwidgets and wxPLplotDemo targets then attempt to run examples/c++/wxPLplotDemo you gets lots of run-time error messages such as plmkstrm: Cannot create new stream plsstrm: Illegal stream number -1, must be in [0, 100] plsstrm: Illegal stream number -1, must be in [0, 100] plsstrm: Illegal stream number -1, must be in [0, 100] plsstrm: Illegal stream number -1, must be in [0, 100] .... If I change to the old version of wxwidgets before you introduced your changes, i.e., git checkout 924b06ccffee1f the above test works fine. So apparently there are backwards incompatible changes in C++ support for streams in the master tip which the old wxwidgets code, i.e., ./bindings/wxwidgets/deprecated_wxPLplotwindow.cpp ./bindings/wxwidgets/deprecated_wxPLplotstream.h.in ./bindings/wxwidgets/deprecated_wxPLplotwindow.h ./bindings/wxwidgets/deprecated_wxPLplotstream.cpp ./drivers/deprecated_wxwidgets_app.cpp ./drivers/deprecated_wxwidgets_dc.cpp ./drivers/deprecated_wxwidgets.cpp ./drivers/deprecated_wxwidgets_gc.cpp ./drivers/deprecated_wxwidgets_agg.cpp ./drivers/deprecated_wxwidgets.h ./examples/c++/deprecated_wxPLplotDemo.cpp is not compatible with. For example, I noticed a call to sdevdata in bindings/wxwidgets/wxPLplotstream.cpp that is not in bindings/deprecated_wxwidgets/wxPLplotstream.cpp, but it turns out putting that call in the deprecated version does not solve the issue so that change cannot be the entire story with differences in C++ stream support for master tip. As a matter of urgency (since getting OLD_WXWIDGETS=ON to work is release critical) could you figure out what needs to be changed in the above files to make them compatible with C++ stream support for master tip? Thanks in advance. 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 __________________________ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel