]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.h
Resolve ambiguity between GetClientXXX() methods in wxOSX wxComboBox.
[wxWidgets.git] / samples / printing / printing.h
index 3c0a8949401860750d9fd10bcba08d530b39822b..a138d541b4890c931d5be7c65ca276b71d4404f5 100644 (file)
@@ -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
 };