[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] CensusView cell-deletion anomaly
From: |
Greg Chicares |
Subject: |
Re: [lmi] CensusView cell-deletion anomaly |
Date: |
Fri, 19 Aug 2011 22:05:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 2011-08-19 17:14Z, Vaclav Slavik wrote:
[...]
> I can reproduce this with wx-2.9.2, but not with week-old trunk. This must be
> caused by the selection bug I fixed after 2.9.2. Here's a workaround that
> works
> with 2.9.2:
Committed 20110819T2157Z, revision 5265.
Is the other occurrence of GetSelections() immune from that 2.9.2 problem? I.e.:
void CensusView::UponUpdateNonemptySelection(wxUpdateUIEvent& e)
{
wxDataViewItemArray selection;
unsigned int n_sel_items = list_window_->GetSelections(selection);
e.Enable(0 < n_sel_items);
}