X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64b9776ca61d8d589da77c1524ae8ae9425dd826..697c314b162ff4758db0047e548d5401994d2c70:/demos/life/life.cpp diff --git a/demos/life/life.cpp b/demos/life/life.cpp index fb1bd8bafa..13376c261c 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -150,7 +150,7 @@ IMPLEMENT_APP(LifeApp) // some shortcuts #define ADD_TOOL(id, bmp, tooltip, help) \ - toolBar->AddTool(id, bmp, wxNullBitmap, false, wxDefaultCoord, wxDefaultCoord, (wxObject *)NULL, tooltip, help) + toolBar->AddTool(id, wxEmptyString, bmp, wxNullBitmap, wxITEM_NORMAL, tooltip, help) // --------------------------------------------------------------------------