Default construcctor for Iterator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -520,6 +520,12 @@ struct wxPixelDataOut<wxBitmap>
|
|||||||
bmp.GetRawData(data, PixelFormat::BitsPerPixel);
|
bmp.GetRawData(data, PixelFormat::BitsPerPixel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// default constructor
|
||||||
|
Iterator()
|
||||||
|
{
|
||||||
|
m_ptr = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
// return true if this iterator is valid
|
// return true if this iterator is valid
|
||||||
bool IsOk() const { return m_ptr != NULL; }
|
bool IsOk() const { return m_ptr != NULL; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user