X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d28952b29818b6931d91984a7b612a072d843d..f5ba273ecd799f652736ce2bc830283787302a56:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 3ab79c9270..653309aafa 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // Name: paper.cpp // Purpose: Paper size classes -// Author: Julian Smart +// Author: Julian Smart // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ @@ -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 +