r3158: *** empty log message ***
[ctsim.git] / src / ctsim.cpp
index 6f6d6b1632e0194143e056a90f7844e4e97628b2..f181eda72d06269962bce9f9e92325cd87893441 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.119 2002/06/27 03:19:23 kevin Exp $
+**  $Id: ctsim.cpp,v 1.120 2002/10/24 15:54:25 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -69,7 +69,7 @@
 #endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.119 2002/06/27 03:19:23 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.120 2002/10/24 15:54:25 kevin Exp $";
 
 struct option CTSimApp::ctsimOptions[] = 
 {
@@ -745,9 +745,9 @@ MainFrame::DoWindowMenu (int iMenuPosition, wxCommandEvent& event)
     wxString strFilename = pDoc->GetFilename();
     const wxView* pView = pDoc->GetFirstView();
     if (pView) {
-      wxFrame* pFrame = pView->GetFrame();
-      pFrame->SetFocus();
-      pFrame->Raise();
+      wxWindow* pWindow = pView->GetFrame();
+      pWindow->SetFocus();
+      pWindow->Raise();
     }
   }
 }