X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..befe54c6ca5d8f57be1d38f8826bdb080af29e89:/src/stubs/print.cpp?ds=sidebyside diff --git a/src/stubs/print.cpp b/src/stubs/print.cpp index 2aba87f3d4..1939136855 100644 --- a/src/stubs/print.cpp +++ b/src/stubs/print.cpp @@ -13,11 +13,12 @@ #pragma implementation "print.h" #endif -#include "wx/print.h" +#include "wx/stubs/print.h" +#include "wx/stubs/printdlg.h" #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxPrinter, wxPrinterBase) -IMPLEMENT_CLASS(wxWindowsPrintPreview, wxPrintPreviewBase) +IMPLEMENT_CLASS(wxPrintPreview, wxPrintPreviewBase) #endif /* @@ -56,17 +57,17 @@ bool wxPrinter::Setup(wxWindow *parent) * Print preview */ -wxWindowsPrintPreview::wxWindowsPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data): +wxPrintPreview::wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data): wxPrintPreviewBase(printout, printoutForPrinting, data) { DetermineScaling(); } -wxWindowsPrintPreview::~wxWindowsPrintPreview() +wxPrintPreview::~wxPrintPreview() { } -bool wxWindowsPrintPreview::Print(bool interactive) +bool wxPrintPreview::Print(bool interactive) { if (!printPrintout) return FALSE; @@ -74,7 +75,7 @@ bool wxWindowsPrintPreview::Print(bool interactive) return printer.Print(previewFrame, printPrintout, interactive); } -void wxWindowsPrintPreview::DetermineScaling() +void wxPrintPreview::DetermineScaling() { // TODO }