X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d50343d87bec1ad537a74c43e2ed2a114574a5a..3f4a2351e4c677c88c18ea812b609477adee7380:/src/msw/printdlg.cpp diff --git a/src/msw/printdlg.cpp b/src/msw/printdlg.cpp index 6a24fedea3..ea57745e78 100644 --- a/src/msw/printdlg.cpp +++ b/src/msw/printdlg.cpp @@ -29,19 +29,18 @@ #if wxUSE_PRINTING_ARCHITECTURE && (!defined(__WXUNIVERSAL__) || !wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW) #ifndef WX_PRECOMP + #include "wx/msw/wrapcdlg.h" #include "wx/app.h" #include "wx/dcprint.h" + #include "wx/cmndata.h" #endif -#include "wx/cmndata.h" #include "wx/printdlg.h" #include "wx/msw/printdlg.h" #include "wx/paper.h" #include -#include "wx/msw/wrapcdlg.h" - #ifndef __WIN32__ #include #endif @@ -137,7 +136,7 @@ wxWindowsPrintNativeData::~wxWindowsPrintNativeData() GlobalFree(hDevNames); } -bool wxWindowsPrintNativeData::Ok() const +bool wxWindowsPrintNativeData::IsOk() const { return (m_devMode != NULL) ; }