]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/printos2.h
make WakeUp variant explicit, too many errors using heuristics, like #14176
[wxWidgets.git] / include / wx / os2 / printos2.h
index bf026a06b2faf36d3726dcdb36eaa0b1845b04ae..f066818cdb9142120c1048582978317aeffe1678 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        print.h
+// Name:        wx/os2/printos2.h
 // Purpose:     wxOS2Printer, wxOS2PrintPreview classes
 // Author:      David Webster
 // Modified by:
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxOS2Printer: public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxOS2Printer)
 
 public:
     wxOS2Printer(wxPrintDialogData *data = NULL);
-    ~wxOS2Printer();
+    virtual ~wxOS2Printer();
 
     virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
     virtual wxDC* PrintDialog(wxWindow *parent);
@@ -39,14 +39,14 @@ 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)
 
 public:
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
     wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
-    ~wxOS2PrintPreview();
+    virtual ~wxOS2PrintPreview();
 
     virtual bool Print(bool interactive);
     virtual void DetermineScaling();