X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77df51f4fb0822bedc13263af625d50c15ba7abc..f5791b9983fb52a074500ecbd7e8ef7a14a90b22:/include/wx/rawbmp.h diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index db4c014d15..d4e9b60d45 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -165,7 +165,7 @@ typedef wxPixelFormat wxImagePixelFormat; #define wxPIXEL_FORMAT_ALPHA 3 #elif defined(__WXGTK__) // Under GTK+ 2.X we use GdkPixbuf, which should be RGBA - typedef wxPixelFormat wxNativePixelFormat; + typedef wxPixelFormat wxNativePixelFormat; #define wxPIXEL_FORMAT_ALPHA 3 #endif @@ -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; }