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; }