// Author: Julian Smart
// Modified by:
// Created: 1995
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
void OnPrint(wxCommandEvent& event);
void OnPrintPreview(wxCommandEvent& event);
void OnPageSetup(wxCommandEvent& event);
-#if defined(__WXMSW__) && wxTEST_POSTSCRIPT_IN_MSW
+#if wxUSE_POSTSCRIPT
void OnPrintPS(wxCommandEvent& event);
void OnPrintPreviewPS(wxCommandEvent& event);
void OnPageSetupPS(wxCommandEvent& event);
void OnPageMargins(wxCommandEvent& event);
#endif
+ void OnPreviewFrameModalityKind(wxCommandEvent& event);
+
void OnExit(wxCommandEvent& event);
void OnPrintAbout(wxCommandEvent& event);
private:
MyCanvas* m_canvas;
+ wxPreviewFrameModalityKind m_previewModality;
DECLARE_EVENT_TABLE()
};
WXPRINT_PREVIEW_PS,
WXPRINT_ANGLEUP,
- WXPRINT_ANGLEDOWN
+ WXPRINT_ANGLEDOWN,
#ifdef __WXMAC__
- , WXPRINT_PAGE_MARGINS
+ WXPRINT_PAGE_MARGINS,
#endif
+
+ WXPRINT_FRAME_MODAL_APP,
+ WXPRINT_FRAME_MODAL_WIN,
+ WXPRINT_FRAME_MODAL_NON
};