]> 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 803d21963713bf37d776233841f3c2ecafbd6705..add8ce72edbbf44df34415210f7a6e0c88561b33 100644 (file)
 #ifndef _LIFE_READER_H_
 #define _LIFE_READER_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #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: