r259: MSVC modifications
[ctsim.git] / src / ctsim.h
index 8367f21a9056b263c311f1c13a50e664241d71a8..62d97c28a7c22ca5a822d9b36ce63d382d466d0a 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsim.h,v 1.6 2000/09/07 01:28:33 kevin Exp $
+**  $Id: ctsim.h,v 1.7 2000/12/16 03:29:02 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
@@ -47,7 +47,7 @@ private:
     wxTextCtrl* m_pLog;
     wxMenu* m_pWindowMenu;
 
-    static const int MAX_WINDOW_MENUITEMS = 20;
+    enum { MAX_WINDOW_MENUITEMS = 20 };
     wxMenuItem* m_apWindowMenuItems[MAX_WINDOW_MENUITEMS];
     wxDocument* m_apWindowMenuData[MAX_WINDOW_MENUITEMS];