X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fd284a4a09793c29078296529d3e9db5acd0a0f..5d8f5f875eaf8b32dee93acec5664b4fc9c93ff7:/include/wx/xpmhand.h diff --git a/include/wx/xpmhand.h b/include/wx/xpmhand.h index 9a848a0f8c..80105ed80e 100644 --- a/include/wx/xpmhand.h +++ b/include/wx/xpmhand.h @@ -1,10 +1,13 @@ #ifndef _WX_XPMHAND_H_BASE_ #define _WX_XPMHAND_H_BASE_ -// Only wxMSW currently defines a separate XPM handler, since -// mostly Windows apps won't need XPMs. +// 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" #endif #endif