X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2ada746fb47bf68c9f2dab6399a6cd5510320984:/samples/docview/view.cpp diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 957aff4018..e48c269d8f 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -127,7 +127,7 @@ bool DrawingView::OnClose(bool deleteWindow) canvas->view = (wxView *) NULL; canvas = (MyCanvas *) NULL; - wxString s(wxTheApp->GetAppName()); + wxString s(wxTheApp->GetAppDisplayName()); if (frame) frame->SetTitle(s);