r608: *** empty log message ***
[ctsim.git] / src / backgroundmgr.cpp
index ddbefb75f9108ad6d1b015e92d71b30d75be164f..3a93370bea1c274d5ffc4696cf3caaf74ae8ec0a 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: backgroundmgr.cpp,v 1.9 2001/03/04 03:14:47 kevin Exp $
+**  $Id: backgroundmgr.cpp,v 1.11 2001/03/05 19:14:40 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
@@ -219,7 +219,7 @@ BackgroundManager::resizeWindow()
 {
   int iHighestPosition = -1;
 
-  for (int i = 0; i < m_vecpPositions.size(); i++)
+  for (unsigned int i = 0; i < m_vecpPositions.size(); i++)
     if (iHighestPosition < m_vecpPositions[i])
       iHighestPosition = m_vecpPositions[i];
 
@@ -236,7 +236,7 @@ BEGIN_EVENT_TABLE(BackgroundManagerCanvas, wxPanel)
 END_EVENT_TABLE()
 
 BackgroundManagerCanvas::BackgroundManagerCanvas (BackgroundManager* pMgr)
-: m_pBackgroundManager(pMgr), wxPanel (pMgr)
+: wxPanel (pMgr), m_pBackgroundManager(pMgr)
 {
 }