]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagiff.h
routing native events first to the wx class and only if skipped call native handler
[wxWidgets.git] / include / wx / imagiff.h
index 3591d7570e3e54e0cf368783dc17e2335fcdfad7..7ac5c35e7dd2ba07564027676d4fa9046c3139d0 100644 (file)
 #ifndef _WX_IMAGE_IFF_H_
 #define _WX_IMAGE_IFF_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "imagiff.h"
-#endif
-
 #include "wx/image.h"
 
 //-----------------------------------------------------------------------------
@@ -22,7 +18,7 @@
 
 #if wxUSE_IMAGE && wxUSE_IFF
 
-class WXDLLEXPORT wxIFFHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxIFFHandler : public wxImageHandler
 {
 public:
     wxIFFHandler()
@@ -34,12 +30,12 @@ public:
     }
 
 #if wxUSE_STREAMS
-    virtual bool LoadFile(wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=-1);
-    virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=TRUE);
+    virtual bool LoadFile(wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1);
+    virtual bool SaveFile(wxImage *image, wxOutputStream& stream, bool verbose=true);
+protected:
     virtual bool DoCanRead(wxInputStream& stream);
 #endif
 
-private:
     DECLARE_DYNAMIC_CLASS(wxIFFHandler)
 };