X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/222ed1d678dff2f5c3c4164321dd05e8f47de487..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/paper.h?ds=sidebyside diff --git a/include/wx/paper.h b/include/wx/paper.h index d6703eb299..86fdafcc90 100644 --- a/include/wx/paper.h +++ b/include/wx/paper.h @@ -6,13 +6,13 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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 @@ -117,7 +119,7 @@ private: // DECLARE_DYNAMIC_CLASS(wxPrintPaperDatabase) }; -WXDLLEXPORT_DATA(extern wxPrintPaperDatabase*) wxThePrintPaperDatabase; +extern WXDLLEXPORT_DATA(wxPrintPaperDatabase*) wxThePrintPaperDatabase; #endif