** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.cpp,v 1.15 2000/09/07 04:59:42 kevin Exp $
+** $Id: sgp.cpp,v 1.16 2000/10/11 08:16:08 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
#endif
#if HAVE_WXWINDOWS
if (m_driver.isWX()) {
- m_font.SetPointSize (height);
+ m_font.SetPointSize (static_cast<int>(height+0.5));
m_driver.idWX()->SetFont (m_font);
}
#endif