X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c54b92d36364306f76745ce319e5314b54ea7690..81f90336020eab200e8f09a6b726c7ec49439b68:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 0a81aa5c0c..5a2316cf4f 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// // 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) @@ -33,7 +33,6 @@ #include "wx/paper.h" #include "wx/module.h" -#include "wx/hashmap.h" #include #include @@ -60,7 +59,7 @@ wxPrintPaperType::wxPrintPaperType() { m_paperId = wxPAPER_NONE; m_platformId = 0; - m_paperName = wxT(""); + m_paperName = wxEmptyString; m_width = 0; m_height = 0; } @@ -84,7 +83,6 @@ wxSize wxPrintPaperType::GetSizeDeviceUnits() const * Print paper database for PostScript */ -WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap); WX_DECLARE_LIST(wxPrintPaperType, wxPrintPaperTypeList); #include "wx/listimpl.cpp" WX_DEFINE_LIST(wxPrintPaperTypeList); @@ -332,7 +330,7 @@ bool wxPrintPaperModule::OnInit() wxThePrintPaperDatabase = new wxPrintPaperDatabase; wxThePrintPaperDatabase->CreateDatabase(); - return TRUE; + return true; } void wxPrintPaperModule::OnExit()