X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.h;h=976de33b0e45be61dd9bf776fd1ce3075b609201;hp=8367f21a9056b263c311f1c13a50e664241d71a8;hb=dc034c9d0b7d9c3874a324a4c2c189a02945adc8;hpb=98f894fe74f1a532f5e6d69cca0404d9a58893e7 diff --git a/src/ctsim.h b/src/ctsim.h index 8367f21..976de33 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -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.8 2000/12/16 06:12:47 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 @@ -28,7 +28,6 @@ #ifndef __CTSIMH__ #define __CTSIMH__ -#include "wx/docview.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -38,6 +37,7 @@ class wxMenu; class wxDocument; +#include "wx/docview.h" // Define a new frame for main window class MainFrame: public wxDocParentFrame @@ -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];