X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5cf83b1ac09099a783104e1bb34d9bac9034c21c..b05875c9771a1f3ec4e07bba56f74e85433ed4b8:/demos/life/game.h diff --git a/demos/life/game.h b/demos/life/game.h index 0a4860f100..a95dae2656 100644 --- a/demos/life/game.h +++ b/demos/life/game.h @@ -12,18 +12,6 @@ #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 // -------------------------------------------------------------------------- @@ -58,7 +46,7 @@ public: // 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(wxT("%i %i"), -width/2, -height/2) ); #endif for(int j = 0; j < height; j++) {