]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/printdlg.h
added assert to check that notebook page does have notebook as parent; removed duplic...
[wxWidgets.git] / include / wx / msw / printdlg.h
index 69921c0b4aeaf3518ff0534cb8a2967250b7882f..eea912b333ff798fd5dffb9455508420a242d36f 100644 (file)
@@ -16,6 +16,8 @@
 #pragma interface "printdlg.h"
 #endif
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 #include "wx/dialog.h"
 #include "wx/cmndata.h"
 
@@ -47,6 +49,8 @@ private:
     wxDC*             m_printerDC;
     bool              m_destroyDC;
     wxWindow*         m_dialogParent;
+
+    DECLARE_NO_COPY_CLASS(wxPrintDialog)
 };
 
 class WXDLLEXPORT wxPageSetupDialog: public wxDialog
@@ -66,7 +70,11 @@ public:
 private:
     wxPageSetupData   m_pageSetupData;
     wxWindow*         m_dialogParent;
+
+    DECLARE_NO_COPY_CLASS(wxPageSetupDialog)
 };
 
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
 #endif
     // _WX_PRINTDLG_H_