-
Notifications
You must be signed in to change notification settings - Fork 63
FAILing Travis tests for OSX/clang builds: they do not do wxwidgets. #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had forgotten about this, except I just had to re-discover the bug. |
@maynardGK , GDLWidget::Init() is not used, actually. Only defined in widgets.hpp. And the wxWidgets library has been wxInitialize() almost at start of gdl, so is activated before the handler loop. Would you submit a patch? |
I've included a call to GDLWidget::Init(), under condition #if defined( _WIN32), in #520 . So instead a test for os is made and if !version.os == "darwin" then there is no wx initialization. |
see #882 |
I've been getting consistent failures each from test_bug_2974380 which simply creates a window.
The tests, each from a clang-built OSX GDL, fail when the proper initialization is actually performed for wxWidgets. wxInitialization() is only called when invoked from graphicsdevice::Init() when GDL_USE_WX="YES". It needs to be called, of course, in all circumstances when widgets are to be used and so when this bug is repaired, testing exposes that the clang/OSX builds do not take wxWidgets.
#262
The text was updated successfully, but these errors were encountered: