From: klaas.holwerda <ng...@kl...> - 2022-11-01 17:25:45
|
Hi Paul, That made no difference the problem stayed, that is against the latest release of wxWidgets 3.2.1, so I think it would be good to have it compiled against that version without problems. Make in the right *.i file this change here, resolves the problem, after regenerating the bindings. #if wxRICHTEXT_USE_PARTIAL_TEXT_EXTENTS #if wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING class wxRichTextLineList : public wxList { // Use the wxList methods, see also wxNode }; #endif #endif #if wxRICHTEXT_USE_PARTIAL_TEXT_EXTENTS #if wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING wxRichTextLineList& GetLines(); #endif #endif Maybe that is all to do to fix it. Regards, Klaas On 27/10/2022 03:50, Paul K wrote: > Hi Klaas, > >> With the latest wxWidgets, I had an issue with wxRichTextLineList. >> Using the defines down here in several places, I did succeed to compile. >> Do not know how to integrate it into *.i files, so hope you can do that. > Thank you for the feedback. I'm actually updating documentation for > the next release (v3.2.0.0) where I expect this issue to be resolved. > I have tested this to-be-released version against the current master > branch of wxwidgets. > > Can you get the current version from the repository and let me know if > any modifications are still needed to get it compiled? You can just > download the archive here: > https://github.com/pkulchenko/wxlua/archive/refs/heads/master.zip > > Paul > > On Wed, Oct 26, 2022 at 12:00 PM klaas.holwerda<ng...@kl...> wrote: >> Hi Paul, >> >> I gave it a try. >> What do you use to compile on Windows normally? >> I generated with Cmake the VC project files, and although a bunch of warnings, it still works fine in the end. >> That is to say if I did not combine debug and release in one go. >> >> Maybe I will start to improve them, but how to work with github is unknow to me, used to subversion on sourceforge. >> Is there a patch system, or does it work different?? >> >> With the latest wxWidgets, I had an issue with wxRichTextLineList. >> Using the defines down here in several places, I did succeed to compile. >> Do not know how to integrate it into *.i files, so hope you can do that. >> >> Much appreciated your work on wxLua! >> >> Regards, >> >> Klaas >> >> #if wxLUA_USE_wxRichText && wxCHECK_VERSION(3,0,0) && wxUSE_RICHTEXT >> >> // --------------------------------------------------------------------------- >> >> // Bind class wxRichTextLineList >> >> // --------------------------------------------------------------------------- >> >> #if wxRICHTEXT_USE_PARTIAL_TEXT_EXTENTS >> >> #if wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING >> >> <<code>> >> >> #endif >> >> #endif >> >> #endif // wxLUA_USE_wxRichText && wxCHECK_VERSION(3,0,0) && wxUSE_RICHTEXT >> >> >> On 13/09/2020 08:30, Paul K wrote: >> >> Hi wxlua users, >> >> I'm glad to announce the release of v3.1.0.0 of wxlua: >> https://github.com/pkulchenko/wxlua. It adds support for Lua 5.4, >> implements several new classes (wxDataViewCtrl, wxTranslations), >> includes a large number of improvements/fixes, and has been tested on >> the most recent version of wxwidgets (3.1.4) and its current master >> branch. >> >> The complete list of the changes in this version (and previous 9 >> releases) is available here: >> https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/changelog.md. >> Note that there was an incompatibility introduced in this version that >> changes the order of parameters for `wxFileName.GetTimes` method. >> >> I don't have any precompiled binaries (and don't plan to provide >> them), but am exploring adding github actions to compile them on >> Windows/macOS/Linux, so if anyone has experience with those and can >> contribute working scripts, open a PR or an issue to collaborate. I >> also don't have Lua 5.3 and Lua 5.4 code included in the wxlua source >> tree, but will consider including it if it's needed to simplify the >> binary generation. >> >> Let me know if you run into any issues with it or have any other >> feedback. Thank you for all the support and contributions to the >> project. >> >> Paul. >> >> >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> >> >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users > > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |