X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/222ed1d678dff2f5c3c4164321dd05e8f47de487..1a83b9bd10b7d92520c202e6ed6cff2015f13315:/src/common/paper.cpp diff --git a/src/common/paper.cpp b/src/common/paper.cpp index b60ad489b5..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,13 +33,12 @@ #include "wx/paper.h" #include "wx/module.h" -#include "wx/hashmap.h" #include #include #ifdef __WXMSW__ -#include +#include "wx/msw/wrapwin.h" #include #ifndef __WIN32__ @@ -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;