Ticket #11220 (closed enhancement: fixed)
mono theme: Don't cross out a disabled wxStaticText
| Reported by: | alarsen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.1 |
| Component: | wxUniv (any port) | Version: | 2.9-svn |
| Keywords: | mono | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
The mono theme shows a disabled wxButton by crossing it out.
Unfortunately, the same happens to disabled wxStaticText which looks really ugly: When a modal dialogue is shown, (partly) visible wxStaticText labels on the underlying wxFrame are crossed out.
The attached patch disables the crossing completely, since the renderer does not distinguish between wxButton and wxStaticText (wxStdRenderer::DrawLabel() calls wxMonoRenderer::DrawButtonLabel() to render the label)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

