#ifndef _WX_PRINTWIN_H_
#define _WX_PRINTWIN_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "printwin.h"
#endif
DECLARE_DYNAMIC_CLASS(wxMacPrinter)
public:
- wxMacPrinter(wxPrintData *data = NULL);
- ~wxMacPrinter(void);
+ wxMacPrinter(wxPrintDialogData *data = NULL);
+ virtual ~wxMacPrinter();
- virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
- virtual bool PrintDialog(wxWindow *parent);
+ virtual bool Print(wxWindow *parent,
+ wxPrintout *printout,
+ bool prompt = TRUE);
+ virtual wxDC* PrintDialog(wxWindow *parent);
virtual bool Setup(wxWindow *parent);
- private:
};
/*
DECLARE_CLASS(wxMacPrintPreview)
public:
- wxMacPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
- ~wxMacPrintPreview(void);
+ wxMacPrintPreview(wxPrintout *printout,
+ wxPrintout *printoutForPrinting = NULL,
+ wxPrintDialogData *data = NULL);
+ wxMacPrintPreview(wxPrintout *printout,
+ wxPrintout *printoutForPrinting,
+ wxPrintData *data);
+ virtual ~wxMacPrintPreview();
virtual bool Print(bool interactive);
- virtual void DetermineScaling(void);
+ virtual void DetermineScaling();
};
#endif