projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implementing delayed freezing, fixes #12865
[wxWidgets.git]
/
demos
/
life
/
game.h
diff --git
a/demos/life/game.h
b/demos/life/game.h
index 0a4860f10035452c28242b94249d7a9bcf5974ba..a95dae26567da20f5d20eac9304ab66821174d53 100644
(file)
--- a/
demos/life/game.h
+++ b/
demos/life/game.h
@@
-12,18
+12,6
@@
#ifndef _LIFE_GAME_H_
#define _LIFE_GAME_H_
#ifndef _LIFE_GAME_H_
#define _LIFE_GAME_H_
-// for compilers that support precompilation, includes "wx/wx.h"
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
-// for all others, include the necessary headers
-#ifndef WX_PRECOMP
- #include "wx/wx.h"
-#endif
-
// --------------------------------------------------------------------------
// LifePattern
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// LifePattern
// --------------------------------------------------------------------------
@@
-58,7
+46,7
@@
public:
// causes a crash due to conversion objects not being available
// during initialisation.
#ifndef __WXMAC__
// causes a crash due to conversion objects not being available
// during initialisation.
#ifndef __WXMAC__
- m_shape.Add( wxString::Format(
_
T("%i %i"), -width/2, -height/2) );
+ m_shape.Add( wxString::Format(
wx
T("%i %i"), -width/2, -height/2) );
#endif
for(int j = 0; j < height; j++)
{
#endif
for(int j = 0; j < height; j++)
{