X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..7086c32ab8de8ebbe1d2e6f6ab125ccbb8b85b13:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index 0b14ff7597..dafaeb189a 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 @@ -84,9 +83,8 @@ wxSize wxPrintPaperType::GetSizeDeviceUnits() const * Print paper database for PostScript */ -WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap); WX_DECLARE_LIST(wxPrintPaperType, wxPrintPaperTypeList); -#include +#include "wx/listimpl.cpp" WX_DEFINE_LIST(wxPrintPaperTypeList); wxPrintPaperDatabase* wxThePrintPaperDatabase = (wxPrintPaperDatabase*) NULL; @@ -332,7 +330,7 @@ bool wxPrintPaperModule::OnInit() wxThePrintPaperDatabase = new wxPrintPaperDatabase; wxThePrintPaperDatabase->CreateDatabase(); - return TRUE; + return true; } void wxPrintPaperModule::OnExit()