f96c9b2f20
In this case, a call to Pgm() generates a wxASSERT due to a nullptr. However this nullptr is not used, so using PgmOrNull() avoid this assert