X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/222ed1d678dff2f5c3c4164321dd05e8f47de487..eedc82f4e96c7f8f0b24addbfd6b4429c9587631:/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