From: Paul Cornett Date: Tue, 10 Oct 2006 04:49:22 +0000 (+0000) Subject: remove extraneous semicolons X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/14c0d834663779aaafeb80370c9f06c7178f020c remove extraneous semicolons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/anidecod.cpp b/src/common/anidecod.cpp index 76d2f9c0ba..e3b5ba4718 100644 --- a/src/common/anidecod.cpp +++ b/src/common/anidecod.cpp @@ -16,19 +16,18 @@ #if wxUSE_STREAMS && wxUSE_GIF +#include "wx/anidecod.h" + #ifndef WX_PRECOMP #include "wx/palette.h" #endif #include #include -#include "wx/anidecod.h" // static wxCURHandler wxANIDecoder::sm_handler; - - //--------------------------------------------------------------------------- // wxANIFrameInfo //--------------------------------------------------------------------------- @@ -43,13 +42,11 @@ public: int m_imageIndex; }; -#include // this is a magic incantation which must be done! -WX_DEFINE_OBJARRAY(wxImageArray); - -#include // this is a magic incantation which must be done! -WX_DEFINE_OBJARRAY(wxANIFrameInfoArray); - +#include "wx/arrimpl.cpp" // this is a magic incantation which must be done! +WX_DEFINE_OBJARRAY(wxImageArray) +#include "wx/arrimpl.cpp" // this is a magic incantation which must be done! +WX_DEFINE_OBJARRAY(wxANIFrameInfoArray) //--------------------------------------------------------------------------- @@ -330,7 +327,7 @@ bool wxANIDecoder::Load( wxInputStream& stream ) m_szAnimation.GetHeight() == 0) m_szAnimation = wxSize(m_images[0].GetWidth(), m_images[0].GetHeight()); - return m_szAnimation!=wxDefaultSize; + return m_szAnimation != wxDefaultSize; } #endif // wxUSE_STREAMS && wxUSE_GIF diff --git a/src/generic/animateg.cpp b/src/generic/animateg.cpp index 124f394071..3495d4a15f 100644 --- a/src/generic/animateg.cpp +++ b/src/generic/animateg.cpp @@ -32,7 +32,7 @@ #include "wx/anidecod.h" #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxAnimationDecoderList); +WX_DEFINE_LIST(wxAnimationDecoderList) wxAnimationDecoderList wxAnimation::sm_handlers;