On Sun, 16 Apr 2006 23:48:35 +0300 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> But now there are warnings with 2.6: NB> .src/wx/generic/persctrl.cpp: In member function 'void wxPListBox::RestoreSelection()': NB> .src/wx/generic/persctrl.cpp:1084: warning: comparison between signed and unsigned integer expressions NB> .src/wx/generic/persctrl.cpp: In member function 'void wxPChoice::RestoreSelection()': NB> .src/wx/generic/persctrl.cpp:1196: warning: comparison between signed and unsigned integer expressions NB> .src/wx/generic/persctrl.cpp: In member function 'void wxPRadioBox::RestoreSelection()': NB> .src/wx/generic/persctrl.cpp:1314: warning: comparison between signed and unsigned integer expressions NB> NB> I assume nothing can be done about it? I think something like this #if wxCHECK_VERSION(2, 7, 0) #define wxCOUNT_TYPE unsigned #else #define wxCOUNT_TYPE int #endif and replacing all "(size_t)sel" with "wxCOUNT_TYPE_CAST(sel)" should fix it. Could you please try it out? Thanks, VZ ------------------------------------------------------- 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 _______________________________________________ Mahogany-Developers mailing list Mahogany-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mahogany-developers