X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c25f8d007d1175bce204b304f80df7e931ce233a..c29c95fe24973b94fd724db767193171ca7c513d:/samples/printing/printing.h diff --git a/samples/printing/printing.h b/samples/printing/printing.h index 3c0a894940..a138d541b4 100644 --- a/samples/printing/printing.h +++ b/samples/printing/printing.h @@ -58,11 +58,14 @@ public: 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() }; @@ -113,9 +116,13 @@ enum 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 };