From: Robin Dunn Date: Tue, 4 Jan 2000 18:00:43 +0000 (+0000) Subject: Fixed a bug that caused a crash on startup X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2d96836946167f1ddf8c9b2eaa8025c7a02505ad Fixed a bug that caused a crash on startup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/life/life.cpp b/samples/life/life.cpp index 5c771aec69..29a7d4d754 100644 --- a/samples/life/life.cpp +++ b/samples/life/life.cpp @@ -522,6 +522,7 @@ LifeCanvas::LifeCanvas(wxWindow *parent, Life *life) { m_life = life; m_cellsize = 8; + m_bmp = NULL; Reset(); }