]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/reader.h
Fix wrong configure test for abi::__forced_unwind in previous commit.
[wxWidgets.git] / demos / life / reader.h
index 27a10af30ee76d469bf981756c2dcd900f6ae16f..add8ce72edbbf44df34415210f7a6e0c88561b33 100644 (file)
 #ifndef _LIFE_READER_H_
 #define _LIFE_READER_H_
 
-#ifdef __GNUG__
-    #pragma interface "reader.h"
-#endif
-
-// 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
-
 #include "game.h"
 
 // --------------------------------------------------------------------------
@@ -45,7 +29,7 @@ public:
     inline wxArrayString GetShape() const       { return m_shape; };
     inline LifePattern   GetPattern() const
     {
-        return LifePattern(_(""), m_description, m_rules, m_shape);
+        return LifePattern(wxEmptyString, m_description, m_rules, m_shape);
     };
 
 private: