r609: *** empty log message ***
[ctsim.git] / src / backgroundmgr.cpp
index ff22e58352a70a0747fc34d462bec7a49c35f98a..2d7714570bb5515d6db2f7092c49b8e09453e86c 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: backgroundmgr.cpp,v 1.10 2001/03/05 15:16:25 kevin Exp $
+**  $Id: backgroundmgr.cpp,v 1.12 2001/03/05 20:29:23 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
@@ -39,9 +39,7 @@
 #include "backgroundmgr.h"
 
 
-#if defined(HAVE_CONFIG_H)
-#include "config.h"
-#endif
+#ifdef HAVE_WXTHREADS
 
 
 IMPLEMENT_DYNAMIC_CLASS(BackgroundManager, wxMiniFrame)
@@ -236,7 +234,7 @@ BEGIN_EVENT_TABLE(BackgroundManagerCanvas, wxPanel)
 END_EVENT_TABLE()
 
 BackgroundManagerCanvas::BackgroundManagerCanvas (BackgroundManager* pMgr)
-: m_pBackgroundManager(pMgr), wxPanel (pMgr)
+: wxPanel (pMgr), m_pBackgroundManager(pMgr)
 {
 }
 
@@ -249,3 +247,5 @@ BackgroundManagerCanvas::OnPaint (wxPaintEvent& event)
 //  dc.DrawLine (30,0, 0, 30);
 }
 #endif
+
+#endif // HAVE_WXTHREADS