From: Robin Dunn Date: Fri, 25 Aug 2006 03:19:06 +0000 (+0000) Subject: Default construcctor for Iterator X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/44d669c8806e956dd26f48acd46b792822511fe8?ds=inline Default construcctor for Iterator git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index f9a8df2ab7..d4e9b60d45 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -520,6 +520,12 @@ struct wxPixelDataOut bmp.GetRawData(data, PixelFormat::BitsPerPixel); } + // default constructor + Iterator() + { + m_ptr = NULL; + } + // return true if this iterator is valid bool IsOk() const { return m_ptr != NULL; }