X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ed0d735d588f42485461ea526596436c4c6ad4b..121fa06ab6af9129e776af13949fc251a3cafc49:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index e207a9a4b1..8aeb3adac2 100644 --- a/src/common/paper.cpp +++ b/src/common/paper.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "paper.h" #endif @@ -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;