]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/paper.cpp
some != NULL checks
[wxWidgets.git] / src / common / paper.cpp
index 3ab79c92708551ab5a77a0bc7debf943dcc8044b..653309aafa7bb8b7d3b813d1dfd279d772b84ca1 100644 (file)
@@ -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"
 #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
+