/////////////////////////////////////////////////////////////////////////////
// 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 "wx/paper.h"
#include "wx/module.h"
-#include "wx/hashmap.h"
#include <stdlib.h>
#include <string.h>
{
m_paperId = wxPAPER_NONE;
m_platformId = 0;
- m_paperName = wxT("");
+ m_paperName = wxEmptyString;
m_width = 0;
m_height = 0;
}
* Print paper database for PostScript
*/
-WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap);
WX_DECLARE_LIST(wxPrintPaperType, wxPrintPaperTypeList);
-#include <wx/listimpl.cpp>
+#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxPrintPaperTypeList);
wxPrintPaperDatabase* wxThePrintPaperDatabase = (wxPrintPaperDatabase*) NULL;
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()