X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgreconstruct.cpp;fp=src%2Fdlgreconstruct.cpp;h=35184ebec216a56adbe3fb4e395f28ee6c81e20d;hp=7ec1d326d03135e7d0a372bc1e3b680d6a3f3804;hb=9727d14397360a862a407b9c35efefe35925791b;hpb=992c6503c40979199dbe6a77e2b1d83735d3c2cb diff --git a/src/dlgreconstruct.cpp b/src/dlgreconstruct.cpp index 7ec1d32..35184eb 100644 --- a/src/dlgreconstruct.cpp +++ b/src/dlgreconstruct.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: dlgreconstruct.cpp,v 1.8 2000/12/17 22:30:34 kevin Exp $ +** $Id: dlgreconstruct.cpp,v 1.9 2000/12/18 02:23:43 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 @@ -324,10 +324,11 @@ void ReconstructDialog::OnClose(wxCloseEvent& event) void ReconstructDialog::OnPaint (wxPaintEvent& event) -{ +{ wxPaintDC paintDC (this); - if (m_state == Paused) - paintDC.DrawBitmap(m_bitmap, 0, 0, false); + if (m_state == Paused) { + paintDC.DrawBitmap(m_bitmap, 0, 0, false); + } }