Skip to content
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

float -> int #2649

Merged
merged 1 commit into from
Nov 19, 2024
Merged

float -> int #2649

merged 1 commit into from
Nov 19, 2024

Conversation

lorenzonebolosi
Copy link
Contributor

DrawRectangle and DrawRoundedRectangle requires ints instead of floats for height and width. Fixed in basics.py
Relative to issue: #2648

Fixes:
Added int() around height and width parameters passed when calling DrawRectangle and DrawRoundedRectangle, as it was already being done for x and y.

DrawRectangle and DrawRoundedRectangle requires ints instead of floats
@swt2c swt2c merged commit 8a0d4e7 into wxWidgets:master Nov 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants