From: Paul Cornett Date: Tue, 26 Aug 2008 06:34:14 +0000 (+0000) Subject: don't use deprecated toolbar API X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/05e0b047d879cdbfade7f2ab346c0acdf3e29f96 don't use deprecated toolbar API git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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) // --------------------------------------------------------------------------