X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.cpp;fp=src%2Fctsim.cpp;h=f181eda72d06269962bce9f9e92325cd87893441;hp=6f6d6b1632e0194143e056a90f7844e4e97628b2;hb=294a10772740d04c66b2ea9284a6d7e243e55c99;hpb=0bf2b2ee6c5d3e100fcbf6583949025c52160908 diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 6f6d6b1..f181eda 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -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(); } } }