If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
2 posts • Page 1 of 1
How to calculate the new point when i zoomed the canvas using SetUserScale method? I want the point got by mouse to be changed with zooming
- 未命名-1.png (52.53 KiB) Viewed 520 times
Assuming we are talking about wxDC and converting mouse coordinates to wxDC ones: Did you try the appropriate functions from wxDC, such as wxDC::DeviceToLogicalX/Y()?