]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xpmdecod.h
Insure suitable choices of path/drive separator on OS/2.
[wxWidgets.git] / include / wx / xpmdecod.h
index 13c1e86b9ee608cad8b786f7bcdd86a070ceaf44..807f2ed2d2522e517c911d8cf8e3d9bd3a98d958 100644 (file)
 #ifndef _WX_XPMDECOD_H_
 #define _WX_XPMDECOD_H_
 
 #ifndef _WX_XPMDECOD_H_
 #define _WX_XPMDECOD_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xpmdecod.h"
 #endif
 
 #include "wx/setup.h"
 
 #pragma interface "xpmdecod.h"
 #endif
 
 #include "wx/setup.h"
 
-#if wxUSE_IMAGE && wxUSE_XPM
 
 class WXDLLEXPORT wxImage;
 class WXDLLEXPORT wxInputStream;
 
 class WXDLLEXPORT wxImage;
 class WXDLLEXPORT wxInputStream;
@@ -43,6 +42,5 @@ public:
 };
 
 
 };
 
 
-#endif  // wxUSE_IMAGE && wxUSE_XPM
 #endif  // _WX_GIFDECOD_H_
 
 #endif  // _WX_GIFDECOD_H_