On 12/10/06, klaas.holwerda <[EMAIL PROTECTED]> wrote: > > They should be updated and work in GTK. Klaas, the errors you get seem > > like mixed headers? For example wxSTC had GetCaretLineBack in 2.6, but > > now has GetCaretLineBackground and it's #ifdefed for 2.7.1 (when the > > change occurred) in stc.cpp. > > > As you see in th erros it comes from the right place. I checked stc.h in > 2.8.3rc, and it contains > SetCaretLineBack() and not as you say ,GetCaretLineBackground() i don't > think i am doing it wrong, because that means i am doing the same wrong > at work,where the problem is the same.
wxWidgets CVS HEAD has GetCaretLineBackground http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/contrib/include/wx/stc/stc.h?rev=HEAD&content-type=text/vnd.viewcvs-markup > > You've got 2.6 headers in your 2.8... in 2.6 wxVideoMode is a struct > > in 2.8 it's a class. Check your $(WXWIN) var. > > > I will check once more, but can it be something else? Oops, struct WXDLLEXPORT wxVideoMode in current CVS HEAD. gcc 4.1.1 and MSVC 6 and 8 (2005) don't complain and I guess they're treating the struct as a class. wxLUA_DECLARE_ENCAPSULATION(WXDLLIMPEXP_WXBIND, wxVideoMode, wxVideoMode) I think I fixed it in wxLUA_DECLARE_ENCAPSULATION by not forward declaring the input "class". Try the new cvs again. Regards, 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wxlua-users
