]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/animdecod.h
avoiding crash for pure modifier events
[wxWidgets.git] / include / wx / animdecod.h
index 0af04918167d4e62a6bf8f58def4223f06295b06..5379c366a54a9700956169d5c3dc1bc1f20fab51 100644 (file)
@@ -84,16 +84,13 @@ enum wxAnimationType
 // wxAnimationDecoder class
 // --------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAnimationDecoder : public wxObjectRefData
+class WXDLLIMPEXP_CORE wxAnimationDecoder : public wxObjectRefData
 {
 public:
     wxAnimationDecoder()
     {
-        m_background = wxNullColour;
         m_nFrames = 0;
     }
-    virtual ~wxAnimationDecoder() { }
-
 
     virtual bool Load( wxInputStream& stream ) = 0;
     virtual bool CanRead( wxInputStream& stream ) const = 0;
@@ -140,7 +137,7 @@ protected:
     wxColour m_background;
 };
 
-
 #endif  // wxUSE_STREAMS
+
 #endif  // _WX_ANIMDECOD_H