#if wxUSE_PRINTING_ARCHITECTURE
+#include "wx/printdlg.h"
+
#ifndef WXPRECOMP
#include "wx/object.h"
#include "wx/dcprint.h"
+ #include "wx/msgdlg.h"
#endif
-#include "wx/printdlg.h"
#include "wx/mac/printdlg.h"
-#include "wx/msgdlg.h"
#include "wx/mac/private/print.h"