]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/view.cpp
replace @seealso with @see; as Vaclav pointed out we shouldn't use custom aliases...
[wxWidgets.git] / samples / docvwmdi / view.cpp
index a598fbc1321a19557f82c28bf9ed6d57d04e0c4a..0707d264aa60c820c82d1b7bc538e8f9c0bad7b9 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-// #pragma implementation
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
 // 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;
 
   canvas->view = (wxView *) NULL;
   canvas = (MyCanvas *) NULL;
 
-  wxString s(wxTheApp->GetAppName());
+  wxString s(wxTheApp->GetAppDisplayName());
   if (frame)
     frame->SetTitle(s);
 
   if (frame)
     frame->SetTitle(s);