X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/422d0ff0bec79832494fe4605ffdcf8e87ba6c03..a64c35c80de531a42f494598a92dee28eb0d8cc9:/samples/docview/view.cpp diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index a3b072b381..e48c269d8f 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -131,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);