Before (notice missing control labels on the left)
Image: render-sample-before (view on web)
After
Image: render-sample-after (view on web)
It may be unexpected that wxGCDC created from wxPaintDC does not "inherit" the default attributes such as the text color, but I guess there is a reason why it was done like this.
The render sample exposes some issues in wxRendererNative on MSW (e.g. the DrawItemText() not working with wxGCDC as seen in the screenshots) but I will create a separate issue for that.
https://github.com/wxWidgets/wxWidgets/pull/26788
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks, I'll apply this but...
It may be unexpected that
wxGCDCcreated fromwxGraphicsContextcreated fromwxPaintDCdoes not "inherit" the default attributes such as the text color, but I guess there is a reason why it was done like this.
... I'm not really sure there is a reason for this. IMO it would make sense to inherit the attributes (i.e. colours and font) in this case too and this probably needs to be fixed (and then this PR could be reverted).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()