I'm trying to get an example I found on this forum to work.
The code was quite old so I tried to adapt it to the current version OpenCascade 7.3.0.
It uses wxWidgets 3.1.0 which I want to use instead of Qt because of the licensing.
The problem that I have is that the code compiles with no errors (using VisualStudio 2015 on Windows 7 64-bit) but when it is run you can see the desired output in a flash and then it is painted over. This painting over is something I'm unable to resolve.
Any help/hint/... that can point me into the right direction is much appreciated.
The complete source code is attached to this posting.
STEPViewer_Frame.cpp : the GUI generated with wxFormBuilder
STEPViewer.cpp ; my own code based on the code I found on this forum