From c6eaa6fb6733d8472a14e220a5656787eafda398 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 15 Jul 2002 22:55:49 +0000 Subject: [PATCH] wxPrinting fix for wxMGL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cmndata.h | 4 ++-- src/common/cmndata.cpp | 2 +- src/generic/dcpsg.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 781ae9a298..7e7e16ce55 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -21,7 +21,7 @@ #include "wx/colour.h" #include "wx/gdicmn.h" -#if (defined(__WXMOTIF__) || defined(__WXX11__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXMGL__) || defined(__WXX11__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT class WXDLLEXPORT wxPrintSetupData; #endif @@ -200,7 +200,7 @@ class WXDLLEXPORT wxPrintData: public wxObject void operator=(const wxPrintData& data); // For compatibility -#if (defined(__WXMOTIF__) || defined(__WXX11__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXMGL__) || defined(__WXX11__) || defined(__WXGTK__) || defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT void operator=(const wxPrintSetupData& setupData); #endif diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 9080a155e9..4ee83e61e9 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -44,7 +44,7 @@ #endif // wxUSE_FONTDLG // For compatibility -#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXX11__)|| defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT +#if (defined(__WXMOTIF__) || defined(__WXMGL__) || defined(__WXGTK__) || defined(__WXX11__)|| defined(__WXPM__) || defined(__WXMAC__)) && wxUSE_POSTSCRIPT #define wxCOMPATIBILITY_WITH_PRINTSETUPDATA 1 #endif diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 31fc945309..3fe32bf0b2 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -264,7 +264,7 @@ wxPostScriptDC::wxPostScriptDC () // Compatibility only // HH: Doesn't seem to work for wxMSW... - #ifndef __WXMSW__ + #if !defined(__WXMSW__) m_printData = * wxThePrintSetupData; #endif } -- 2.45.2