Tue Aug 21 21:08:34 2012: Request 79006 was acted upon. Transaction: Correspondence added by use...@zip.com.au Queue: Wx Subject: Re: [rt.cpan.org #79006] RichTextBuffer new() no args Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: use...@zip.com.au Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79006 >
"Mark Dootson via RT" <bug...@rt.cpan.org> writes: > > I could not find any practical usage for the default > Wx::RichTextBuffer->new(); constructor which I am fairly sure is really > only for use within wxRichTextCtrl. Yes, perhaps. I was experimenting with a Wx::RichTextPrinting which takes a buffer to print out. But my actual code prints the buffer from a RichTextCtrl. > Note: it isn't quite as simple as just wrapping the method as generally > in the wxWidgets code other classes control wxRichTextBuffer destruction Ah, ok. I wasn't sure if that sort of thing was supposed to "just work" or if you have to be careful about keeping alive things passed down into the library code etc.