]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpcx.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / imagpcx.h
index f9c0dab41136315cef300932ffedee117c7486a0..1533483fff8227c8a93ff3945ffa6faf3a993703 100644 (file)
@@ -37,7 +37,7 @@ public:
   };
 
 #if wxUSE_STREAMS
-  virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=0 );
+  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 DoCanRead( wxInputStream& stream );
 #endif // wxUSE_STREAMS