don't set A4 paper size, use the system default instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-17 01:54:48 +00:00
parent 08893e7eae
commit d5eaa19fdf
4 changed files with 35 additions and 29 deletions

View File

@@ -161,8 +161,11 @@ wxPrintData::wxPrintData()
m_colour = true;
m_duplexMode = wxDUPLEX_SIMPLEX;
m_printQuality = wxPRINT_QUALITY_HIGH;
m_paperId = wxPAPER_A4;
m_paperSize = wxSize(210, 297);
// we intentionally don't initialize paper id and size at all, like this
// the default system settings will be used for them
m_paperId = wxPAPER_NONE;
m_paperSize = wxDefaultSize;
m_privData = NULL;
m_privDataLen = 0;