X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/585ae8cbc0ba875d2b0e836d5db429e702f0c289..f5ba273ecd799f652736ce2bc830283787302a56:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index b2c77b66af..653309aafa 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -22,6 +22,9 @@ #include "wx/defs.h" +#if wxUSE_PRINTING_ARCHITECTURE + + #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/settings.h" @@ -45,10 +48,8 @@ #endif // End __WXMSW__ -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxPrintPaperType, wxObject) IMPLEMENT_DYNAMIC_CLASS(wxPrintPaperDatabase, wxList) -#endif /* * Paper size database for all platforms @@ -307,3 +308,5 @@ void wxPrintPaperModule::OnExit() wxThePrintPaperDatabase = NULL; } +#endif // wxUSE_PRINTING_ARCHITECTURE +