-
Couldn't load subscription status.
- Fork 3k
Fix code generator to include wx fixes #10314
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
base: maint
Are you sure you want to change the base?
Conversation
The GetRed, GetBlue, GetGreen in wxWidgets return `unsigned char`, But the code in wxe_wrapper_4.cpp is using `char` to receive the result and sign extending it into a int. As a result, a pixel whose red is `250`(`16#FA`) will be returned as `4294967290`(`16#FFFFFFFA`) by `wxImage:getRed/3`. This commit fixed this problem.
The committed code didn't correspond to what the generator did. Fix generator to produce the correct licenses and fix WXE_WEBVIEW include.
* upstream/pr/10303: wx: Fixed the types of pixel values.
Generate code according to previous commit and add a testcase.
CT Test Results 2 files 17 suites 3m 42s ⏱️ Results for commit 4ec70e8. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
gl.erl was compiled with wrong parameters in bootstrap, and then kept in the release, 3rd time I'm fixing this hopefully for real now. If headers/libs are available it should work now.
Fixes code generator to generate previous added fixes.
Includes the commit in #10303 and adds a testcase and also fixes the code generator for that code.