X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/222ed1d678dff2f5c3c4164321dd05e8f47de487..79099b80ad442cb93b2f7df716bf3d1dd80b446f:/include/wx/paper.h diff --git a/include/wx/paper.h b/include/wx/paper.h index d6703eb299..087eb6d5ce 100644 --- a/include/wx/paper.h +++ b/include/wx/paper.h @@ -12,7 +12,7 @@ #ifndef _WX_PAPERH__ #define _WX_PAPERH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "paper.h" #endif @@ -20,6 +20,7 @@ #include "wx/event.h" #include "wx/cmndata.h" #include "wx/intl.h" +#include "wx/hashmap.h" /* * Paper type: see defs.h for wxPaperSize enum. @@ -69,7 +70,8 @@ private: DECLARE_DYNAMIC_CLASS(wxPrintPaperType) }; -class WXDLLEXPORT wxStringToPrintPaperTypeHashMap; +WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap); + class WXDLLEXPORT wxPrintPaperTypeList; class WXDLLEXPORT wxPrintPaperDatabase