]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/print.h
fix crash caused by an wxMDIClientWindow's GTK signal handler being called when the...
[wxWidgets.git] / include / wx / print.h
index f3a3bfa7f130b7c3b767d972c782d48564556b2f..12160a8e1a56afb7589f33b4db4666b3531514c4 100644 (file)
 #ifndef _WX_PRINT_H_BASE_
 #define _WX_PRINT_H_BASE_
 
+#include "wx/defs.h"
+
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
 
 #include "wx/msw/printwin.h"
 
 #elif defined(__WXMAC__)
 
-#include "wx/mac/printmac.h"
+#include "wx/osx/printmac.h"
 
 #elif defined(__WXPM__)
 
@@ -30,6 +34,6 @@
 
 #endif
 
-
+#endif // wxUSE_PRINTING_ARCHITECTURE
 #endif
     // _WX_PRINT_H_BASE_