X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5f10b014c48082160c6315fd4fd17cf981c5b30..ee4d43806461a4856ed526db164f1a6207027f81:/include/wx/os2/print.h diff --git a/include/wx/os2/print.h b/include/wx/os2/print.h index baf6ecbcf9..efd17ffdec 100644 --- a/include/wx/os2/print.h +++ b/include/wx/os2/print.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: print.h +// Name: wx/os2/print.h // Purpose: wxPrinter, wxPrintPreview classes // Author: David Webster // Modified by: @@ -18,13 +18,13 @@ * Represents the printer: manages printing a wxPrintout object */ -class WXDLLEXPORT wxOS2Printer: public wxPrinterBase +class WXDLLIMPEXP_CORE wxOS2Printer: public wxPrinterBase { DECLARE_DYNAMIC_CLASS(wxPrinter) public: wxOS2Printer(wxPrintData *data = NULL); - ~wxOS2Printer(); + virtual ~wxOS2Printer(); virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE); virtual wxDC* PrintDialog(wxWindow *parent); @@ -37,13 +37,13 @@ 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(wxPrintPreview) public: wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL); - ~wxOS2PrintPreview(); + virtual ~wxOS2PrintPreview(); virtual bool Print(bool interactive); virtual void DetermineScaling();