[GRASS-dev] Some wxPython 3 issues

Markus Neteler neteler at osgeo.org
Sun Nov 1 22:50:25 PST 2015


On Fri, Sep 18, 2015 at 9:55 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Thu, Sep 17, 2015 at 11:47 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
>> It's not the standard native checkbox, you should look for
>> CheckListCtrlMixin.
>
> Ah I see.
>
> # start overview page
> python /usr/share/doc/wxPython-docs/demo/Main.py
>
> Yes, it is CheckListCtrlMixin which is unreadable.
>
> I definitely like CheckBox better (also in the past) for the layer
> manager. Is there a reason to use CheckListCtrlMixin?
> At least I got some insights now how these checkboxes are called...
>
>> For the editing issue, look for ListCtrl_edit in the
>> demo (I used 2.8 demo, so hopefully it has the same name in wpython 3 demo).
>
> Yes, the same name and yes it is broken, too bad. So that's not a GRASS issue.

For the record: I opened a ticket also for that.
https://bugzilla.redhat.com/show_bug.cgi?id=1268615

... which got picked up:

--- Comment #3 from Scott Talbert <swt at XXXX> ---
Investigated.  Looks to be a wxWidgets issue - the
wxRendererNative::DrawCheckBox() function doesn't seem to actually draw the
checkbox when in the checked state.  Reported upstream:
http://trac.wxwidgets.org/ticket/17240

and immediately fixed there.
Now I expect that it will be backported to Fedora and an update shipped.
Other affected distros may do the same, so if one of you has the same
issue, you may point them to wxWidgets bug#17240.

cheers
Markus


More information about the grass-dev mailing list