wxProgressDialog: use two-step-constructor way