[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [PATCH] Use correct type for the first column renderer in the
Re: [lmi] [PATCH] Use correct type for the first column renderer in the census view.
Mon, 31 Aug 2015 22:11:28 +0000
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0
On 2015-08-28 22:39, Vadim Zeitlin wrote:
> The trivial attached patch gets rid of many warnings when using lmi with
> wxGTK (or, I assume, with wxOSX, which has similar code, but I haven't
> tested this). The problem was not detected when using the generic version
> of wxDataViewCtrl in wxMSW (but this is going to change with my upcoming
> changes to wxWidgets which will harmonize this code across all ports), but
> in the ports using native control implementation the type of the renderer
> and that of the value returned from the model really must be the same.
Okay, it really has been "long" all along:
if(col == Col_CellNum)
Committed 20150829T0005Z, revision 6276.