Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,6 +14,14 @@
|
||||
#pragma interface "imagtiff.h"
|
||||
#endif
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxTIFFHandler
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_LIBTIFF
|
||||
|
||||
#include "wx/image.h"
|
||||
|
||||
// defines for wxImage::SetOption
|
||||
@@ -22,11 +30,6 @@
|
||||
#define wxIMAGE_OPTION_COMPRESSION wxString(_T("Compression"))
|
||||
#define wxIMAGE_OPTION_IMAGEDESCRIPTOR wxString(_T("ImageDescriptor"))
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxTIFFHandler
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_LIBTIFF
|
||||
class WXDLLEXPORT wxTIFFHandler: public wxImageHandler
|
||||
{
|
||||
public:
|
||||
@@ -42,9 +45,8 @@ public:
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxTIFFHandler)
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_LIBTIFF
|
||||
|
||||
#endif
|
||||
// _WX_IMAGTIFF_H_
|
||||
#endif // _WX_IMAGTIFF_H_
|
||||
|
||||
|
Reference in New Issue
Block a user