X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d876667522bb46aefe877ca13e78d8c8f13c569b..80a779275ae04443c568dca919adb26cf6f5002c:/src/common/prntbase.cpp diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 13ddf2a44f..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" @@ -34,12 +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/printdlg.h" #include "wx/print.h" -#include "wx/module.h" #include #include @@ -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(); }