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