]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/printdlg.h
Added missing "const" for operator== and operator!=.
[wxWidgets.git] / include / wx / msw / printdlg.h
index 69921c0b4aeaf3518ff0534cb8a2967250b7882f..041b389a8e4ab2a82eb5df40941428c4a2aee046 100644 (file)
 #ifndef _WX_PRINTDLG_H_
 #define _WX_PRINTDLG_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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_