]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmndata.cpp
setting up correct port origin as well
[wxWidgets.git] / src / common / cmndata.cpp
index 1896239b729e5a026bffd03c7a24d0b52120e26a..171f85d13009034170a1148e5b00952f3b524ef7 100644 (file)
     #endif
 #endif // MSW
 
-#ifdef __WXMAC__
+    #if wxUSE_PRINTING_ARCHITECTURE
+
+#if defined(__WXMAC__)
     #include "wx/mac/private/print.h"
 #endif
 
-    #if wxUSE_PRINTING_ARCHITECTURE
         IMPLEMENT_DYNAMIC_CLASS(wxPrintData, wxObject)
         IMPLEMENT_DYNAMIC_CLASS(wxPrintDialogData, wxObject)
         IMPLEMENT_DYNAMIC_CLASS(wxPageSetupDialogData, wxObject)