Skip to content

Fix masked.TimeCtrl with wx.TimeSpan values - #3012

Merged
swt2c merged 1 commit into
wxWidgets:masterfrom
swt2c:issue_2761
Nov 4, 2026
Merged

swt2c merged 1 commit into
wxWidgets:masterfrom
swt2c:issue_2761

Conversation

@swt2c

@swt2c swt2c commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Splitting a TimeSpan into hours, minutes and seconds used true division, so SetHour() got a float and raised a TypeError.

Fixes #2761

Splitting a TimeSpan into hours, minutes and seconds used true division,
so SetHour() got a float and raised a TypeError.

Fixes wxWidgets#2761
@swt2c
swt2c merged commit d841f4a into wxWidgets:master Nov 4, 2026
15 checks passed
@swt2c
swt2c deleted the issue_2761 branch November 4, 2026 02:03
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.

wx.TimeSpan bug

1 participant