X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/103aec296a2c017f915b4b2b2584191fdb716a75..81ce36aa591e89a802e0d900ac3c4bdbbacce48c:/include/wx/msw/printdlg.h?ds=sidebyside diff --git a/include/wx/msw/printdlg.h b/include/wx/msw/printdlg.h index 69921c0b4a..041b389a8e 100644 --- a/include/wx/msw/printdlg.h +++ b/include/wx/msw/printdlg.h @@ -12,10 +12,12 @@ #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_