X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..bf354396f61a2e1bd5544b67ecde341b6ff9bf35:/demos/life/reader.h diff --git a/demos/life/reader.h b/demos/life/reader.h index 27a10af30e..2a88cd065f 100644 --- a/demos/life/reader.h +++ b/demos/life/reader.h @@ -12,7 +12,7 @@ #ifndef _LIFE_READER_H_ #define _LIFE_READER_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "reader.h" #endif @@ -45,7 +45,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: