Found the problem, its DPI related.
The wxSize( 50, 50 ) is too small for high DPI monitors. It ends up being small as the image above. Because of this Render event is never generated. (Confirmed via debugger). Changing the size to 500 x 500 fixes it.
Found the problem, its DPI related.
The wxSize( 50, 50 ) is too small for high DPI monitors. It ends up being small as the image above. Because of this Render event is never generated. (Confirmed via debugger). Changing the size to 500 x 500 fixes it.