Re: Bitmap button default
"Brendan Simon (eTRIX)" <[email protected]> Fri, 5 Jul 2019 17:15:18 +1000
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Organization | eTRIX pty ltd |
| Message-ID | <[email protected]> |
It's weird. I have a two grids - one either side of a custom widget: Grid1 | Custom | Grid2 I can put the button anywhere in Grid2, including the very first slot, and it doesn't get highlighted. If I cut-n-paste the button to anywhere in Grid1 it gets highlighted (if it's the first button). Putting another button before it makes the new button highlighted, and the original button not highlighted. It's not a C++ generation issue. The problem shows up in the wxglade Preview window (and the generated program). Any thoughts? Brendan. ------------------------------------------------------------------------ On 5/7/19 5:01 pm, Brendan Simon (eTRIX) wrote: > Hi Dietmar and co, > > Mac, wxglade 0.9.3, python 3.6 => generating C++ code. > > I've got 5 bitmap buttons in some grid sizers. The first button in > the first grid is always highlighted (light blue) as if it is the > default button, but the default checkbox is not ticked for any button. > > Even if I select one of the other buttons to be the default (ticked > default checkbox), the first button still remains highlighted and the > the button I checked as default does not get highlighted. > > If I insert another button in a grid slot earlier than the current one > that is highlighted, then the new one is now highlighted. > > If I add a dummy button (as above) and disable it or hide it, then the > original button is now highlighted again. > > Is this a Mac specific thing or a wxWidgets thing? How do I make all > buttons show normally, without any being highlighted? > > Thanks, Brendan. _______________________________________________ wxGlade-general mailing list wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxglade-general