X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..91d55088c9ee093e62b3282e2f64b32627f0f25d:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index fb2c1ca6d3..18587e9b53 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -18,8 +18,10 @@ #if wxUSE_PRINTING_ARCHITECTURE - #ifndef WX_PRECOMP + #if defined(__WXMSW__) + #include "wx/msw/wrapcdlg.h" + #endif // MSW #include "wx/utils.h" #include "wx/settings.h" #include "wx/intl.h" @@ -32,7 +34,6 @@ #include #ifdef __WXMSW__ - #include "wx/msw/wrapcdlg.h" #ifndef __WIN32__ #include #endif @@ -78,7 +79,7 @@ WX_DECLARE_LIST(wxPrintPaperType, wxPrintPaperTypeList); #include "wx/listimpl.cpp" WX_DEFINE_LIST(wxPrintPaperTypeList) -wxPrintPaperDatabase* wxThePrintPaperDatabase = (wxPrintPaperDatabase*) NULL; +wxPrintPaperDatabase* wxThePrintPaperDatabase = NULL; wxPrintPaperDatabase::wxPrintPaperDatabase() {