diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index f2076edbea..bc5f7df97f 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -233,7 +233,7 @@ wxString wxLogGui::GetTitle() const titleFormat = _("%s Information"); } - return wxString::Format(titleFormat, wxTheApp->GetAppDisplayName()); + return wxString::Format(titleFormat, wxTheApp ? wxTheApp->GetAppDisplayName() : _("Application")); } void