/////////////////////////////////////////////////////////////////////////////
// Name: paper.cpp
// Purpose: Paper size classes
-// Author: Julian Smart
+// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#include <string.h>
#ifdef __WXMSW__
-#include "wx/msw/wrapwin.h"
-#include <commdlg.h>
-
-#ifndef __WIN32__
-#include <print.h>
-#endif
-
+ #include "wx/msw/wrapcdlg.h"
+ #ifndef __WIN32__
+ #include <print.h>
+ #endif
#endif
// End __WXMSW__
{
m_paperId = wxPAPER_NONE;
m_platformId = 0;
- m_paperName = wxT("");
+ m_paperName = wxEmptyString;
m_width = 0;
m_height = 0;
}
if (type)
return type->GetSize();
else
- return wxSize(0, 0);
+ return wxSize(0,0);
}
// Get the paper size
wxThePrintPaperDatabase = new wxPrintPaperDatabase;
wxThePrintPaperDatabase->CreateDatabase();
- return TRUE;
+ return true;
}
void wxPrintPaperModule::OnExit()