wxPrinting fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
#include "wx/colour.h"
|
#include "wx/colour.h"
|
||||||
#include "wx/gdicmn.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;
|
class WXDLLEXPORT wxPrintSetupData;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ class WXDLLEXPORT wxPrintData: public wxObject
|
|||||||
void operator=(const wxPrintData& data);
|
void operator=(const wxPrintData& data);
|
||||||
|
|
||||||
// For compatibility
|
// 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);
|
void operator=(const wxPrintSetupData& setupData);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
#endif // wxUSE_FONTDLG
|
#endif // wxUSE_FONTDLG
|
||||||
|
|
||||||
// For compatibility
|
// 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
|
#define wxCOMPATIBILITY_WITH_PRINTSETUPDATA 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -264,7 +264,7 @@ wxPostScriptDC::wxPostScriptDC ()
|
|||||||
|
|
||||||
// Compatibility only
|
// Compatibility only
|
||||||
// HH: Doesn't seem to work for wxMSW...
|
// HH: Doesn't seem to work for wxMSW...
|
||||||
#ifndef __WXMSW__
|
#if !defined(__WXMSW__)
|
||||||
m_printData = * wxThePrintSetupData;
|
m_printData = * wxThePrintSetupData;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user