X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/422d0ff0bec79832494fe4605ffdcf8e87ba6c03..adcb6f88ee32eb508d64e86c22ad193fec8b95cf:/samples/docvwmdi/view.cpp?ds=sidebyside diff --git a/samples/docvwmdi/view.cpp b/samples/docvwmdi/view.cpp index a598fbc132..0707d264aa 100644 --- a/samples/docvwmdi/view.cpp +++ b/samples/docvwmdi/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" @@ -110,7 +106,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);