#pragma interface "cmndata.h"
#endif
+#include "wx/window.h"
#include "wx/font.h"
#include "wx/colour.h"
+#include "wx/gdicmn.h"
#if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT
class WXDLLEXPORT wxPrintSetupData;
int maxSize;
};
+#if wxUSE_PRINTING_ARCHITECTURE
/*
* wxPrintData
* Encapsulates printer information (not printer dialog information)
void operator=(const wxPrintSetupData& setupData);
#endif
-#ifdef __WXMSW__
+#if defined(__WXMSW__)
// Convert to/from the DEVMODE structure
void ConvertToNative();
void ConvertFromNative();
// paper size id member as well.
void SetPaperSize(const wxSize& sz);
+ void SetPaperId(wxPaperSize& id) { m_printData.SetPaperId(id); };
+
// Sets the wxPrintData id, plus the paper width/height if found in the paper database.
void SetPaperSize(wxPaperSize id);
wxPrintData m_printData;
};
+#endif // wxUSE_PRINTING_ARCHITECTURE
+
#endif
// _WX_CMNDATA_H_BASE_