]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagjpeg.h
fix gcc warnings about not calling the base class ctors (replaces patch 1962992)
[wxWidgets.git] / include / wx / imagjpeg.h
index 491f847bda42785911bd7077c178b08d8cddeb5c..976e3585766290302ccb6caaea607cde1c410f6c 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "wx/image.h"
 
-class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
+class WXDLLIMPEXP_CORE wxJPEGHandler: public wxImageHandler
 {
 public:
     inline wxJPEGHandler()
@@ -34,6 +34,7 @@ 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 );
+protected:
     virtual bool DoCanRead( wxInputStream& stream );
 #endif