Re: Re: [M-CVS] CVS: M/src/wx/generic persctrl.cpp,1.96,1.97

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Sun, 16 Apr 2006 23:05:00 +0200 Vadim Zeitlin <[email protected]> wrote:

VZ>  I think something like this
VZ> 
VZ> #if wxCHECK_VERSION(2, 7, 0)
VZ> 	#define wxCOUNT_TYPE unsigned
VZ> #else
VZ> 	#define wxCOUNT_TYPE int
VZ> #endif
VZ> 
VZ> and replacing all "(size_t)sel" with "wxCOUNT_TYPE_CAST(sel)" should fix
VZ> it. Could you please try it out?

But now I think it is not worth it, as there are only 4 warnings in 2 files.
Please tell me if you think otherwise.

Regards,
Nerijus


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.