This class provides the default method of managing the print preview interface.
Member functions may be overridden to replace functionality, or the
class may be used without derivation.
PreviewCanvas, PreviewControlBar, PrintPreview
Constructor. Pass a print preview object plus other normal frame arguments.
The print preview object will be destroyed by the frame when it closes.
Destructor.
Creates a PreviewControlBar. Override this function to allow
a user-defined preview control bar object to be created.
Creates a PreviewCanvas. Override this function to allow
a user-defined preview canvas object to be created.
Creates the preview canvas and control bar, and calls
Window::make_modal(true) to disable other top-level windows
in the application.
This function should be called by the application prior to
showing the frame.
This method is called initialize() in the C++ implementation of wxWidgets in wxRuby
this had to be changed to init() because of the conflict with Ruby’s built in initialize().
Enables the other frames in the application, and deletes the print preview
object, implicitly deleting any printout objects associated with the print
preview object.
[This page automatically generated from the Textile source at 2023-06-03 08:07:41 +0000]