Fix floatcanvas Text.ShiftFunDict: convert float to int#2749
Fix floatcanvas Text.ShiftFunDict: convert float to int#2749swt2c merged 1 commit intowxWidgets:masterfrom
Conversation
|
Sorry, I hadn't checked the bitmap drawing test. I've confirmed that the bitmap position is also incorrect. |
|
Can't - you'll have to open a new PR. |
|
Ok, I will! |
|
I’m not sure this fix is gonna cut it. |
|
I can see that, but it doesn't cover all cases. I also tested the Allow and AllowLine cases and confirmed that they have issues as well. The issue comes from passing a float value to dc.DrawXXX. |
Fixes #2748
This PR modifies "wx/lib/floatcanvas/FCObjects.py" and is part of #2448, which currently has conflicts.