Hi Laurent

I did some changes to the current master that will allow you to keep using this code

wxPLplotwindow<wxFrame> *frame = new wxPLplotwindow<wxFrame>();

would you mind giving it a try?

do

git clone of Plplot (in Windows I use Tortoise git)
extract the attached .gz
copy the 2 files
wxPLplotwindow.h
wxPLplotDemo.cpp

to to their locations in the master (in bindings/wxwidgets and examples/c++)

and rebuild your application

thanks

-Pedro





On 2016-12-27 10:27, Laurent Berger wrote:
Problem is my compiler said

3>c:userslaurent.pc-laurent-visidocumentsvisual studio
2013wxopencvwxopencvmaincourbeplplot.h(55): error C2059: syntax error

Now syntax error I need two days to change my code. It was like this
in previous version of plplot. I don't remember 5.xx.xx. I don't wan't
to go back in my code. I will use 5.11.1

yes

but for the current (5.11.1) release compared to the new
implemented
examples,
the effect is the same

previously the way to start the demo was

wxPLplotwindow<wxFrame> *frame = new wxPLplotwindow<wxFrame>();

and now is

wxPLplotwindow *frame = new wxPLplotwindow();

and because wxPLplotwindow is a child of a wxFrame,
the visible effect is exactly the same, a frame window that shows
a
plot.

-Pedro

Le 27/12/2016 à 16:11, Pedro Vicente a écrit :

Laurent

I have installed last version of plplot and last patch (from
pedro).
Can
you confirm me that wxPLplotwindow is now a non template class?

yes, that is correct.

-Pedro

On 2016-12-27 10:04, Laurent Berger wrote:

Hi,

I have installed last version of plplot and last patch (from
pedro).
Can
you confirm me that wxPLplotwindow is now a non template class?

thanks for yours answers




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

--
Pedro Vicente
pedro.vice...@space-research.org
http://www.space-research.org/

Attachment: 0001-Add-function-Create.patch.tar.gz
Description: Binary data

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to