.\" This is a wxWidgets manpage page generated from the XML docs .TH wxPreviewControlBar 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxPreviewControlBar \- Standard control bar for a print preview .SH DESCRIPTION This is the default implementation of the preview control bar, a panel with buttons and a zoom control. You can derive a new class from this and override some or all member functions to change the behaviour and appearance; or you can leave it as it is. .SH "PARENTS" wxPanel wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/print.h .SH MEMBERS .SS wxPreviewControlBar (wxPrintPreview* previewlong buttonswxWindow* parentconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = 0const wxString& name = ``panel") Constructor. The buttons parameter may be a combination of the following, using the bitwise `or' operator. wxPREVIEW_PRINT Create a print button. wxPREVIEW_NEXT Create a next page button. wxPREVIEW_PREVIOUS Create a previous page button. wxPREVIEW_ZOOM Create a zoom control. wxPREVIEW_DEFAULT Equivalent to a combination of wxPREVIEW_PREVIOUS, wxPREVIEW_NEXT and wxPREVIEW_ZOOM. .SS ~wxPreviewControlBar () Destructor. .SS void CreateButtons () Creates buttons, according to value of the button style flags. .SS wxPrintPreview * GetPrintPreview () Gets the print preview object associated with the control bar. .SS int GetZoomControl () Gets the current zoom setting in percent. .SS void SetZoomControl (int percent) Sets the zoom control. .SH "SEE ALSO" wxPanel wxWindow wxEvtHandler wxObject wxPreviewFrame wxPreviewCanvas , wxPrintPreview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.