Disabling the label on a wxRadioBox
Kenneth Porter <[email protected]> Mon, 1 Dec 2025 19:56:17 -0800
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
I'm disabling most of a panel when I hit a "Start" button except for its matching "Stop" button. The controls on the panel provide options for an industrial process. Hitting "Stop" re-enables all the controls and disables "Stop". I noticed that the label on a wxRadioBox is not greyed-out. Digging down into the code, I find that this is intentional in the wxStaticBox within the wxRadioBox, as the label is sometimes used to reawaken the control. So I have this ghostly "live" label floating in a sea of greyed-out controls, which looks quite odd. Is there a way to disable that label? -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/abc12046-d192-4b72-a477-3af2f051324c%40sewingwitch.com.