layout/main and wxapi basic