]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.h
Create a wrapper file for X11/XKBlib.h header.
[wxWidgets.git] / samples / printing / printing.h
index 264a49c3b43198cfbf4d8537425eeb4f8b16201d..a138d541b4890c931d5be7c65ca276b71d4404f5 100644 (file)
@@ -58,11 +58,14 @@ public:
     void OnPageMargins(wxCommandEvent& event);
 #endif
 
     void OnPageMargins(wxCommandEvent& event);
 #endif
 
+    void OnPreviewFrameModalityKind(wxCommandEvent& event);
+
     void OnExit(wxCommandEvent& event);
     void OnPrintAbout(wxCommandEvent& event);
 
 private:
     MyCanvas* m_canvas;
     void OnExit(wxCommandEvent& event);
     void OnPrintAbout(wxCommandEvent& event);
 
 private:
     MyCanvas* m_canvas;
+    wxPreviewFrameModalityKind m_previewModality;
 
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };
@@ -104,16 +107,22 @@ private:
 
 
 // constants:
 
 
 // constants:
+enum
+{
+    WXPRINT_PAGE_SETUP = 103,
 
 
-#define WXPRINT_PAGE_SETUP      103
-
-#define WXPRINT_PRINT_PS        105
-#define WXPRINT_PAGE_SETUP_PS   107
-#define WXPRINT_PREVIEW_PS      108
+    WXPRINT_PRINT_PS,
+    WXPRINT_PAGE_SETUP_PS,
+    WXPRINT_PREVIEW_PS,
 
 
-#define WXPRINT_ANGLEUP         110
-#define WXPRINT_ANGLEDOWN       111
+    WXPRINT_ANGLEUP,
+    WXPRINT_ANGLEDOWN,
 
 #ifdef __WXMAC__
 
 #ifdef __WXMAC__
-    #define WXPRINT_PAGE_MARGINS 112
+    WXPRINT_PAGE_MARGINS,
 #endif
 #endif
+
+    WXPRINT_FRAME_MODAL_APP,
+    WXPRINT_FRAME_MODAL_WIN,
+    WXPRINT_FRAME_MODAL_NON
+};