[wxPython] Printing OGL Shapes specifically instance of a wxDiagram

Hello all,
I’ve searched the archives but was unable to find a specific answer to the question of whether you can print out an instance of a wxDiagram and, if so, how. Any suggestions would be greatly appreciated. Thanks in advance

Bill

I've searched the archives but was unable to find a specific answer to the
question of whether you can print out an instance of a wxDiagram and, if

so,

how. Any suggestions would be greatly appreciated. Thanks in advance

Setup the scaling on your printing DC as needed, then get the list of shapes
from the diagram, and iterate over it calling each shape's Draw method. If
you can read C++ you can get more details from

http://cvs.wxwindows.org/cgi-bin/viewcvs.cgi/wxWindows/contrib/samples/ogl/o
gledit/view.cpp?rev=1.3&content-type=text/vnd.viewcvs-markup

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!