X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8898456df4728afe7d100011e0e23b0ffb9a6341..97c7099a70fd3af6ac7bef7f420581c8801ba22d:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 3b977cc779..a06698ac58 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -18,7 +18,12 @@ #if wxUSE_PRINTING_ARCHITECTURE +#include "wx/dcprint.h" + #ifndef WX_PRECOMP + #if defined(__WXMSW__) + #include "wx/msw/wrapcdlg.h" + #endif // MSW #include "wx/utils.h" #include "wx/dc.h" #include "wx/app.h" @@ -32,13 +37,12 @@ #include "wx/intl.h" #include "wx/textdlg.h" #include "wx/sizer.h" + #include "wx/module.h" #endif // !WX_PRECOMP #include "wx/prntbase.h" -#include "wx/dcprint.h" #include "wx/printdlg.h" #include "wx/print.h" -#include "wx/module.h" #include #include @@ -53,7 +57,6 @@ #endif #ifdef __WXMSW__ - #include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -1476,6 +1479,11 @@ void wxPrintPreview::SetZoom(int percent) m_pimpl->SetZoom( percent ); } +int wxPrintPreview::GetZoom() const +{ + return m_pimpl->GetZoom(); +} + wxPrintDialogData& wxPrintPreview::GetPrintDialogData() { return m_pimpl->GetPrintDialogData();