X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..80a779275ae04443c568dca919adb26cf6f5002c:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index eb1b109583..9bb2f18a2f 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -21,6 +21,9 @@ #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" @@ -54,7 +57,6 @@ #endif #ifdef __WXMSW__ - #include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -1369,7 +1371,7 @@ int wxPrintPreviewBase::GetMaxPage() const { return m_maxPage; } int wxPrintPreviewBase::GetMinPage() const { return m_minPage; } -bool wxPrintPreviewBase::Ok() const +bool wxPrintPreviewBase::IsOk() const { return m_isOk; } void wxPrintPreviewBase::SetOk(bool ok) { m_isOk = ok; } @@ -1497,7 +1499,7 @@ int wxPrintPreview::GetMinPage() const return m_pimpl->GetMinPage(); } -bool wxPrintPreview::Ok() const +bool wxPrintPreview::IsOk() const { return m_pimpl->Ok(); }