]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.h
Added a few files; fixed some warnings and wxMotif compile problems
[wxWidgets.git] / samples / printing / printing.h
index 5c948a731fe33ca71dea55a2774c0e0b209b92f9..1b56be4d7097c5ab08aa101d01d19cf94a7de1ec 100644 (file)
@@ -19,8 +19,12 @@ class MyApp: public wxApp
   public:
     MyApp(void) ;
     bool OnInit(void);
+
+    wxFont* m_testFont;
 };
 
+DECLARE_APP(MyApp)
+
 class MyCanvas;
 
 // Define a new canvas and frame
@@ -39,10 +43,13 @@ class MyFrame: public wxFrame
     void OnPrintPreview(wxCommandEvent& event);
     void OnPrintSetup(wxCommandEvent& event);
     void OnPageSetup(wxCommandEvent& event);
+#if defined(__WXMSW__) && wxTEST_POSTSCRIPT_IN_MSW
     void OnPrintPS(wxCommandEvent& event);
     void OnPrintPreviewPS(wxCommandEvent& event);
     void OnPrintSetupPS(wxCommandEvent& event);
     void OnPageSetupPS(wxCommandEvent& event);
+#endif
+
     void OnExit(wxCommandEvent& event);
     void OnPrintAbout(wxCommandEvent& event);
 DECLARE_EVENT_TABLE()