All XPLM GUI widgets need to call show when setting the GUI object.
Easy to reproduce. Just create a XPLM GUI object and you need to call ->Show().