RE: Getting data into wxPrintPreview

2010-04-02 Thread Steve Cookson
Hi Jeff, Yes, I think it's the same code. Mine is: http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/richtext/richtextprin t.cpp?view=markup Which is a bit we easier to read. So far I've done nothing except convert and modify the C++ wxRTC editor into wxPerl which edits and creates an RTC

Re: Getting data into wxPrintPreview

2010-04-02 Thread perltk
Steve, I'm just stepping into this myself. Only as far as displaying some rudimentry psuedo-rtf in the wxrichtextctrl widget. I tracked down what I believe is the C code you are referring to : http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/richtext/richtextprint.cpp?revision=61724&v

RE: Getting data into wxPrintPreview

2010-04-02 Thread Steve Cookson
OK, well I see I really misunderstood the printing framework. In the end, I only began to understand it because I stepped through the Wx::Demo version in debug mode. It seems I need to provide a number of subroutines for Wx::Printout. This wasn't clear to me before. I guess I didn't really under