MainFrame is now extending Wx::Frame, and no longer using the GuiElement role.