1 ///////////////////////////////////////////////////////////////////////////////
2 // Name:        pdfarraydouble.h
3 // Purpose:
4 // Author:      Ulrich Telle
5 // Created:     2009-05-25
6 // Copyright:   (c) Ulrich Telle
7 // Licence:     wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9 
10 /// \file pdfarraydouble.h Definition of array of type double
11 
12 #ifndef _PDF_ARRAY_DOUBLE_H_
13 #define _PDF_ARRAY_DOUBLE_H_
14 
15 // wxWidgets headers
16 #include <wx/dynarray.h>
17 
18 // wxPdfDocument headers
19 #include "wx/pdfdocdef.h"
20 
21 #if wxCHECK_VERSION(2, 7, 0)
22 // Just map wxPdfArrayDouble to wxArrayDouble, for wxWidgets version 2.7.0 or later
23 #define wxPdfArrayDouble wxArrayDouble
24 #else
25 // Unfortunately double arrays are not available in wxWidgets until version 2.7.0
26 /// Class representing double arrays
27 WX_DEFINE_USER_EXPORTED_ARRAY_DOUBLE(double, wxPdfArrayDouble, class WXDLLIMPEXP_PDFDOC);
28 #endif
29 
30 #endif
31