A: 

The format expected by wxImage ctor is an array of RGB data and your LCD_image() function doesn't return it in this format.

VZ