X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Ftips.cpp;h=05c2a9e3057cc2693adb389f5facf5b92f0b389f;hb=3ea498d51ce4597e9649cd21f155b51175ea0bea;hp=c263b48356aac5465dc3197086a2746a1e464485;hpb=1a7c2cc82f5a0c04bec766776e57c563378dc611;p=ctsim.git diff --git a/src/tips.cpp b/src/tips.cpp index c263b48..05c2a9e 100644 --- a/src/tips.cpp +++ b/src/tips.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: tips.cpp,v 1.1 2001/02/22 00:56:50 kevin Exp $ +** $Id: tips.cpp,v 1.3 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 @@ -25,17 +25,8 @@ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ -#ifdef MSVC -#define strdup _strdup -#endif - -// For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - #ifndef WX_PRECOMP #include "wx/wx.h" #endif @@ -71,7 +62,7 @@ const char* const CTSimTipProvider::s_aszTips[] = { {"You can control CTSim's operation using the \"File - Preferences\" menu command."}, }; -const int CTSimTipProvider::s_iNumTips = sizeof(s_aszTips) / sizeof(const char *); +const size_t CTSimTipProvider::s_iNumTips = sizeof(s_aszTips) / sizeof(const char *); CTSimTipProvider::CTSimTipProvider (size_t iCurrentTip)