Get rid of the class naming conflict with the base header
authorDavid Webster <Dave.Webster@bhmi.com>
Thu, 21 Oct 2004 17:36:01 +0000 (17:36 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Thu, 21 Oct 2004 17:36:01 +0000 (17:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/print.h

index 23db48af6d047636d0db930507933da218cc7bd2..baf6ecbcf98cb45e6282f1790db04c6bcdb93be6 100644 (file)
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxPrinter: public wxPrinterBase
+class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
 {
   DECLARE_DYNAMIC_CLASS(wxPrinter)
 
  public:
-  wxPrinter(wxPrintData *data = NULL);
-  ~wxPrinter();
+  wxOS2Printer(wxPrintData *data = NULL);
+  ~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 wxPrintPreview: public wxPrintPreviewBase
+class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
 {
   DECLARE_CLASS(wxPrintPreview)
 
  public:
-  wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
-  ~wxPrintPreview();
+  wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
+  ~wxOS2PrintPreview();
 
   virtual bool Print(bool interactive);
   virtual void DetermineScaling();