Generate UI with xrc file:
wxXmlResource::Get()->InitAllHandlers();
wxXmlResource::Get()->Load(wxT("res\\Launcher.xrc"));
then....
wxChoice* gameCtrl = XRCCTRL(*this, "ID_CHOICE_GAMEPROCESS", wxChoice);
if (gameCtrl == nullptr)
return;
gameCtrl->Clear();
Error Info: __vfptr==0xffffffff