]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/printos2.h
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime...
[wxWidgets.git] / include / wx / os2 / printos2.h
index e5a7feeefc4fb5d191708953b76a72408a875328..1a813cc91d6b4cc63dc5c220f4e070cbf05d2cdd 100644 (file)
 
 #include "wx/prntbase.h"
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 /*
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxOS2Printer: public wxPrinterBase
 {
-  DECLARE_DYNAMIC_CLASS(wxOS2Printer)
+    DECLARE_DYNAMIC_CLASS(wxOS2Printer)
 
- public:
-  wxOS2Printer(wxPrintDialogData *data = NULL);
-  ~wxOS2Printer();
+public:
+    wxOS2Printer(wxPrintDialogData *data = NULL);
+    virtual ~wxOS2Printer();
 
-  virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
-  virtual wxDC* PrintDialog(wxWindow *parent);
-  virtual bool Setup(wxWindow *parent);
+    virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
+    virtual wxDC* PrintDialog(wxWindow *parent);
+    virtual bool Setup(wxWindow *parent);
 private:
 };
 
@@ -37,18 +39,20 @@ private:
  * Programmer creates an object of this class to preview a wxPrintout.
  */
 
-class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxOS2PrintPreview: public wxPrintPreviewBase
 {
-  DECLARE_CLASS(wxOS2PrintPreview)
+    DECLARE_CLASS(wxOS2PrintPreview)
 
- public:
-  wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
-  wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
-  ~wxOS2PrintPreview();
+public:
+    wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
+    wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
+    virtual ~wxOS2PrintPreview();
 
-  virtual bool Print(bool interactive);
-  virtual void DetermineScaling();
+    virtual bool Print(bool interactive);
+    virtual void DetermineScaling();
 };
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
 #endif
     // _WX_PRINT_H_