On 3/13/07, Andre <[EMAIL PROTECTED]> wrote:
> I am using version 2.8 of widgets and encoutnered this problem
>
> gdi.cpp
> ..\..\wxbind\src\gdi.cpp(875) : warning C4996: 'wxRect::Inside' was declared
> deprecated
>         c:\Programs\wxWidgets\include\wx\gdicmn.h(449) : see declaration of
> 'wxRect::Inside'

I don't know what to do about these things. wxWidgets has deprecated
it in 2.8, but I think some people still use 2.6 so if I remove it
from the bindings wxLua programs (like the samples) will have to check
the version of wxWidgets which is pretty ugly.

> ..\..\wxbind\src\gdi.cpp(6905) : error C2039: 'QuantizeColour' : is not a 
> member
> of 'wxBitmap'
>         c:\Programs\wxWidgets\include\wx\msw\bitmap.h(37) : see declaration of
> 'wxBitmap'

Sigh. This function is in 2.8 and is in wxBitmapBase, but the wxBitmap
class in MSW doesn't derive from wxBitmapBase, but rather from
wxGDIImage.

Just rem out the line that calls QuantizeColour in the bindings for
now. I'll fix it in CVS.

Thanks,
    John Labenski

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to