diff --git a/include/wx/xpmhand.h b/include/wx/xpmhand.h index 0d1a9bd10e..80105ed80e 100644 --- a/include/wx/xpmhand.h +++ b/include/wx/xpmhand.h @@ -4,7 +4,7 @@ // Only wxMSW and wxPM currently defines a separate XPM handler, since // mostly Windows and Presentation Manager apps won't need XPMs. #if defined(__WXMSW__) -#include "wx/msw/xpmhand.h" +#error xpmhand.h is no longer needed since wxImage now handles XPMs. #endif #if defined(__WXPM__) #include "wx/os2/xpmhand.h"