store the raw data in bitmap to m_buffer that in wxCairoBitmapData