diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 8e74712b0c..8a347433b3 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -586,7 +586,7 @@ struct WXDLLEXPORT wxPixelDataOut wxPixelDataIn(wxBitmap& bmp, const wxRect& rect) : m_bmp(bmp), m_pixels(bmp, *this) { - InitRect(rect.GetPositions(), rect.GetSize()); + InitRect(rect.GetPosition(), rect.GetSize()); } wxPixelDataIn(wxBitmap& bmp, const wxPoint& pt, const wxSize& sz)