MicBosi / VisualizationLibrary

Visualization Library is a C++ middleware for high-performance 2D and 3D graphics applications based on OpenGL 1.x-4.x supporting Windows, Linux and Mac OS X.
http://VisualizationLibrary.org
Other
339 stars 94 forks source link

fix build error under msys2 with wxWidgets option enabled #211

Open asmwarrior opened 1 year ago

asmwarrior commented 1 year ago

see discussion here: when building this library wxWidgets support under msys2, I got build error, here is a patch to fix the error Issue #210 · MicBosi/VisualizationLibrary — https://github.com/MicBosi/VisualizationLibrary/issues/210

asmwarrior commented 1 year ago

There is another crash bug for the wxWidgets gui port, I just fix this bug in this pull request. mMouseCounter is no needed here, otherwise, this variable will be -1 if I double left mouse click on the window.