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,7 +14,7 @@
|
||||
#pragma interface "imagpng.h"
|
||||
#endif
|
||||
|
||||
#include "wx/image.h"
|
||||
#include "wx/defs.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxPNGHandler
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#if wxUSE_LIBPNG
|
||||
|
||||
#include "wx/image.h"
|
||||
|
||||
#define wxIMAGE_OPTION_PNG_FORMAT wxT("PngFormat")
|
||||
#define wxIMAGE_OPTION_PNG_BITDEPTH wxT("PngBitDepth")
|
||||
|
||||
@@ -52,8 +54,9 @@ public:
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS(wxPNGHandler)
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
// wxUSE_LIBPNG
|
||||
|
||||
#endif
|
||||
// _WX_IMAGPNG_H_
|
||||
|
Reference in New Issue
Block a user