From: Michal S. <si...@ge...> - 2011-04-29 13:37:14
|
Hi all, I'm using plplot with wxwidgets. I created a wxPLplotwindow and integrated it into my application. Now I try to interact with that window. Nothing special, I just want to have the mouse position in world coordinates. I try to do the same, like some of the examples are doing with the "Locate" menu. I use GetCursor to get the required coordinates, but it always returns with 0. That means, an error. After debugging into plplot, it looks to me, that GetCursor works only if ownGUI is true. Is that right, or how to use GetCursor to get the right information? Thanks, Michal |