X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0f81e9f15fedf29e5f6cf023b4ba3f2c2d2eb46..ac55e0a1a8c344626a94bc055e018630ed77b004:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index 51c77dbb4c..5aa6984d28 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: image.h +// Name: wx/image.h // Purpose: wxImage class // Author: Robert Roebling // RCS-ID: $Id$ @@ -11,6 +11,9 @@ #define _WX_IMAGE_H_ #include "wx/defs.h" + +#if wxUSE_IMAGE + #include "wx/object.h" #include "wx/string.h" #include "wx/gdicmn.h" @@ -20,8 +23,6 @@ # include "wx/stream.h" #endif -#if wxUSE_IMAGE - // on some systems (Unixware 7.x) index is defined as a macro in the headers // which breaks the compilation below #undef index @@ -425,4 +426,3 @@ extern WXDLLEXPORT_DATA(wxImage) wxNullImage; #endif // _WX_IMAGE_H_ -