On Jun 24, 2023, at 04:20, Драган Недељковић <[email protected]> wrote:
> 
> In several places, e.g. dPemMixin.py", line 3475, wherever screen coordinates 
> are passed from Dabo to wx, they are passed as just generic numbers, which 
> the wx tolerated before. Now it's a runtime error, namely
> 
>     dc.DrawText(txt, x, y)
> TypeError: DC.DrawText(): arguments did not match any overloaded call:
>   overload 1: argument 2 has unexpected type 'float'
>   overload 2: argument 2 has unexpected type 'float'
> 
> Is there anything we can do about this?

The 'master' branch of Dabo has been inactive for about a decade now. Several 
years ago I made a brief attempt at updating the code base to use Python 3.x 
and wxPython 4.x, and got some of it working. That is now in the 'dabo3' 
branch, where any changes like the one you mention would be made.

I haven't kept up on the changes to wxPython; it was hard enough to get some 
basic compatibility with 4.x. Please check out the 'dabo3' branch, and if you 
have some suggestions that would fix some issues, please create a pull request 
against that branch on GitHub. If you have any other questions, feel free to 
ask, and I'll try to help as much as I can.


-- Ed Leafe






_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/[email protected]

Reply via email to