#endif
#endif // MSW
-#ifdef __WXMAC__
+ #if wxUSE_PRINTING_ARCHITECTURE
+
+#if defined(__WXMAC__)
#include "wx/mac/private/print.h"
#endif
- #if wxUSE_PRINTING_ARCHITECTURE
IMPLEMENT_DYNAMIC_CLASS(wxPrintData, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxPrintDialogData, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxPageSetupDialogData, wxObject)
wxPageSetupDialogData::wxPageSetupDialogData()
{
- m_paperSize = wxSize();
+ m_paperSize = wxSize(0,0);
CalculatePaperSizeFromId();
m_minMarginTopLeft =
m_minMarginBottomRight =
m_marginTopLeft =
- m_marginBottomRight = wxPoint();
+ m_marginBottomRight = wxPoint(0,0);
// Flags
m_defaultMinMargins = false;
wxPageSetupDialogData::wxPageSetupDialogData(const wxPrintData& printData)
{
- m_paperSize = wxSize();
+ m_paperSize = wxSize(0,0);
m_minMarginTopLeft =
m_minMarginBottomRight =
m_marginTopLeft =
- m_marginBottomRight = wxPoint();
+ m_marginBottomRight = wxPoint(0,0);
// Flags
m_defaultMinMargins = false;