X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..80f8355d6639f1bb13b00a64cb27aaa2b5088185:/demos/life/game.h diff --git a/demos/life/game.h b/demos/life/game.h index 7c7b6aff37..0a4860f100 100644 --- a/demos/life/game.h +++ b/demos/life/game.h @@ -54,7 +54,12 @@ public: m_name = name; m_description = description; m_rules = wxEmptyString; + // TODO: add the positions later, since the formatting command + // 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) ); +#endif for(int j = 0; j < height; j++) { wxString tmp;