"Mark Dootson via RT" <bug-Wx@rt.cpan.org> writes:
Show quoted text>
> 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.
Show quoted text> 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.