** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.94 2001/01/31 01:01:22 kevin Exp $
+** $Id: views.cpp,v 1.95 2001/02/02 00:46:38 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
Graph3dFileDocument* pGraph3d = theApp->newGraph3dDoc();
pGraph3d->setBadFileOpen();
pGraph3d->createFromImageFile (rIF);
- pGraph3d->getView()->getFrame()->SetClientSize (200, 200);
+ pGraph3d->getView()->OnUpdate (this, NULL);
+ pGraph3d->UpdateAllViews();
+ pGraph3d->getView()->getFrame()->SetClientSize (400, 400);
pGraph3d->getView()->getFrame()->Show (true);
+ GetDocumentManager()->ActivateView (pGraph3d->getView(), true, false);
+ ::wxYield();
+ pGraph3d->getView()->getCanvas()->SetFocus();
}
#endif