In reply to item 1 below:I found that this is error is specific to the use of
wxGC in wxPLplotDemo.cpp. The reason that this error does not occur when
running -dev wxwidgets is because most likely the wxPLplotwindow class in the
bindings is outdated (the examples don't use the bindings, they use the driver
directly).
I don't know if it's possible to simply copy the wxPLplotwindow from the
bindings to the drivers, but within the drivers I found that the initial size
in the constructor is the maximum displayed size (default is hardcoded 640x400
in the constructor). If I modify the m_width and m_height in the constructor in
wxPLplotwindow.cpp (trunk\bindings\wxwidgets) to 800x600 then the resizing
works until 800x600, but outside that it fails. If I force the app to use the
DC backend, I have no issues and the window resizes fine beyond 800x600.
As I don't have the knowledge of how to move drivers to bindings (and even if
that's possible), I would like to suggest that all updates done to the drivers
also would be reflected in the bindings (because that would solve this issue).
Regards, Joost
From: [email protected]
To: [email protected]
Date: Wed, 11 Dec 2013 15:47:17 +1100
Subject: Re: [Plplot-devel] wxWidgets-3.0.0 demo display incorrect
I would like to also ask: which wxPLplotwindow should normally be referred to
when creating your own wxwidgets plplot apps?
I noticed that updates to the wxWidgets driver are not common, but there are
actually two versions of the wxPLplotwindow class.There is one located on
trunk/bindings/wxwidgets/wxplplotwindow.h and .cpp, and one in
trunk/drivers/wxwidgets.h and wxwidgets_app.cpp. The latter has seemingly much
more functionality (and uses more derived classes) and is capable of using
multiple display drivers (agg, dc, gc). Should the class or all classes from
wxwidgets.h actually be moved to become a binding? Or am I now completely
misunderstanding the procedure...
Regards, Joost
From: [email protected]
To: [email protected]
Date: Wed, 11 Dec 2013 15:12:26 +1100
Subject: [Plplot-devel] wxWidgets-3.0.0 demo display incorrect
Hello,
1.In the wxPLplotdemo example, the bottom half of the plot display is empty
(see http://img197.imageshack.us/img197/5332/oqdv.jpg ). Having seen this in
wxWidgets before I expect a sizer issue.When resizing the screen, it becomes
worse (only the original visible size will stay visible, but the plot is moving
with the size of the window). This does not occur when running examples with
"-dev wxwidgets", in that case everything is fine.Running wxwidgets-3.0.0,
Windows 7.
2.When using "x00.exe -dev wxwidgets", and then simply closing the window, a
popup "x00.exe has stopped working" occurs. Unfortunately my Visual Studio is
not set up to automatically direct me to the source code to debug. This happens
with any example.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel