From 05e0b047d879cdbfade7f2ab346c0acdf3e29f96 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 26 Aug 2008 06:34:14 +0000 Subject: [PATCH] don't use deprecated toolbar API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/life/life.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) // --------------------------------------------------------------------------