GetSelections() of a disabled wxListBox

Hi!

When a wxListBox instance with style=wxLB_MULTIPLE is disabled, its
GetSelections() method returns always an empty tuple, regardless of
the fact that I have made some selections before I disabled the
listbox. Is it a bug or a feature? :wink:

I use wxGTK-2.4.0, wxPython-2.4.0.7.

路路路

--
聽聽聽聽聽聽聽聽rnd.

Dmytro Rud <unixoid@web.de> writes:

When a wxListBox instance with style=wxLB_MULTIPLE is disabled, its
GetSelections() method returns always an empty tuple, regardless of
the fact that I have made some selections before I disabled the
listbox. Is it a bug or a feature? :wink:

It was a bug--a bug of mine. Sorry.

路路路

--
        rnd.